mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 08:57:14 +08:00
revert: 刷新页面不保留 tabs 页签
This commit is contained in:
@@ -51,7 +51,7 @@ const appStore = useAppStore()
|
||||
const tabsStore = useTabsStore()
|
||||
|
||||
// 重置, 同时把 affix: true 的路由筛选出来
|
||||
// tabsStore.reset()
|
||||
tabsStore.reset()
|
||||
|
||||
// 监听路由变化
|
||||
watch(
|
||||
|
@@ -112,4 +112,4 @@ const storeSetup = () => {
|
||||
}
|
||||
}
|
||||
|
||||
export const useTabsStore = defineStore('tabs', storeSetup, { persist: true })
|
||||
export const useTabsStore = defineStore('tabs', storeSetup, { persist: false })
|
||||
|
Reference in New Issue
Block a user