We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25aa7cc commit 0ef78baCopy full SHA for 0ef78ba
src/layout/components/Tabs/index.vue
@@ -51,7 +51,7 @@ const appStore = useAppStore()
51
const tabsStore = useTabsStore()
52
53
// 重置, 同时把 affix: true 的路由筛选出来
54
-// tabsStore.reset()
+tabsStore.reset()
55
56
// 监听路由变化
57
watch(
src/stores/modules/tabs.ts
@@ -112,4 +112,4 @@ const storeSetup = () => {
112
}
113
114
115
-export const useTabsStore = defineStore('tabs', storeSetup, { persist: true })
+export const useTabsStore = defineStore('tabs', storeSetup, { persist: false })
0 commit comments