mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2026-01-10 02:00:22 +08:00
mod: appStore持久化存储改用sessionStorage
This commit is contained in:
@@ -33,6 +33,6 @@ export const useAppStore = defineStore('app', {
|
||||
},
|
||||
persist: {
|
||||
paths: ['collapsed', 'naiveThemeOverrides'],
|
||||
storage: localStorage,
|
||||
storage: sessionStorage,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user