Browse Source

更新 'src/store/index.ts'

caner 8 months ago
parent
commit
a5a2805242
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/store/index.ts

+ 1 - 3
src/store/index.ts

@@ -24,8 +24,6 @@ const useStore = defineStore('index', {
       this.isCheckPermission = data
     }
   },
-  persist: {
-    enabled: true // true 表示开启持久化保存
-  }
+  persist: true,
 })
 export default useStore