⚡ 优化缓存策略.
This commit is contained in:
@@ -197,8 +197,6 @@
|
||||
|
||||
// 卸载处理
|
||||
onUnmounted(() => {
|
||||
// 卸载时清除 cache
|
||||
useCacheStore().reset('authorizedHostKeys', 'authorizedHostIdentities', 'commandSnippetGroups', 'pathBookmarkGroups');
|
||||
// 去除 body style
|
||||
document.body.removeAttribute('terminal-theme');
|
||||
// 重置 title
|
||||
|
||||
Reference in New Issue
Block a user