mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-17 02:22:01 +08:00
chore: change how the package is built
This commit is contained in:
@@ -318,10 +318,13 @@ const useCoreTabbarStore = defineStore('core-tabbar', {
|
||||
return [...affixTabs, ...normalTabs];
|
||||
},
|
||||
},
|
||||
persist: {
|
||||
// 持久化
|
||||
paths: ['tabs'],
|
||||
},
|
||||
persist: [
|
||||
// tabs不需要保存在localStorage
|
||||
{
|
||||
paths: ['tabs'],
|
||||
storage: sessionStorage,
|
||||
},
|
||||
],
|
||||
state: (): TabsState => ({
|
||||
cachedTabs: new Set(),
|
||||
excludeCachedTabs: new Set(),
|
||||
|
||||
Reference in New Issue
Block a user