Browse Source

feat: 持久化存储

feature/three
guoapeng 3 months ago
parent
commit
b73972a894
  1. 1
      src/stores/debugStore.ts
  2. 1
      src/stores/systemStore.ts

1
src/stores/debugStore.ts

@ -61,4 +61,5 @@ export const useDebugStore = defineStore('debug', {
}), }),
actions: { actions: {
}, },
persist: true,
}) })

1
src/stores/systemStore.ts

@ -28,4 +28,5 @@ export const useSystemStore = defineStore('system', {
router.push('/login').then(() => {}) router.push('/login').then(() => {})
}, },
}, },
persist: true,
}) })
Loading…
Cancel
Save