1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-22 23:50:22 +08:00

fix: pinia持久化paths -> pick

This commit is contained in:
zclzone
2024-11-29 15:26:07 +08:00
parent 7ce6cf1f7c
commit 9b510e8350
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ export const useTabStore = defineStore('tab', {
},
},
persist: {
paths: ['tabs'],
pick: ['tabs'],
storage: sessionStorage,
},
})