timo/feat-rolling #9

Merged
HoshinoSuzumi merged 2 commits from timo/feat-rolling into main 2026-02-10 01:18:24 +08:00
3 changed files with 13 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ export const useLoginState = defineStore(
persist: { persist: {
key: 'xsh_assistant_persisted_state', key: 'xsh_assistant_persisted_state',
storage: piniaPluginPersistedstate.localStorage(), storage: piniaPluginPersistedstate.localStorage(),
paths: ['is_logged_in', 'token', 'user'], pick: ['is_logged_in', 'token', 'user'],
}, },
} }
) )

View File

@@ -33,7 +33,7 @@ export const useTourState = defineStore(
persist: { persist: {
key: 'xsh_assistant_tour_state', key: 'xsh_assistant_tour_state',
storage: piniaPluginPersistedstate.localStorage(), storage: piniaPluginPersistedstate.localStorage(),
paths: ['tourState'], pick: ['tourState'],
}, },
} }
) )

View File

@@ -1,13 +1,18 @@
{ {
// https://nuxt.com/docs/guide/concepts/typescript // https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json", "files": [],
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"esModuleInterop": true
},
"references": [ "references": [
{ {
"path": "./tsconfig.node.json" "path": "./.nuxt/tsconfig.app.json"
},
{
"path": "./.nuxt/tsconfig.server.json"
},
{
"path": "./.nuxt/tsconfig.shared.json"
},
{
"path": "./.nuxt/tsconfig.node.json"
} }
] ]
} }