优化缓存策略.

This commit is contained in:
lijiahangmax
2024-12-29 23:58:44 +08:00
parent 3b89e9bf29
commit c2311f0682
47 changed files with 302 additions and 289 deletions

View File

@@ -197,8 +197,6 @@
// 卸载处理
onUnmounted(() => {
// 卸载时清除 cache
useCacheStore().reset('authorizedHostKeys', 'authorizedHostIdentities', 'commandSnippetGroups', 'pathBookmarkGroups');
// 去除 body style
document.body.removeAttribute('terminal-theme');
// 重置 title