From 377c36f84652e38587e51fd0a786564f83860968 Mon Sep 17 00:00:00 2001 From: Timothy Yin Date: Tue, 10 Feb 2026 01:17:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore(tsconfig):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=AF=BC=E5=85=A5=E5=BC=95=E7=94=A8=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsconfig.json | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index b1d2f39..307b213 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,13 +1,18 @@ { // https://nuxt.com/docs/guide/concepts/typescript - "extends": "./.nuxt/tsconfig.json", - "compilerOptions": { - "allowSyntheticDefaultImports": true, - "esModuleInterop": true - }, + "files": [], "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" } ] } -- 2.49.1 From 8d6e2efb533f7178e4c2ab9805592a681d21962f Mon Sep 17 00:00:00 2001 From: Timothy Yin Date: Tue, 10 Feb 2026 01:18:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore(persist):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=8C=81=E4=B9=85=E5=8C=96=E7=8A=B6=E6=80=81=20pick=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/composables/useLoginState.ts | 2 +- app/composables/useTourState.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/composables/useLoginState.ts b/app/composables/useLoginState.ts index bc610d0..c3820ae 100644 --- a/app/composables/useLoginState.ts +++ b/app/composables/useLoginState.ts @@ -73,7 +73,7 @@ export const useLoginState = defineStore( persist: { key: 'xsh_assistant_persisted_state', storage: piniaPluginPersistedstate.localStorage(), - paths: ['is_logged_in', 'token', 'user'], + pick: ['is_logged_in', 'token', 'user'], }, } ) diff --git a/app/composables/useTourState.ts b/app/composables/useTourState.ts index 7eb364b..e5b9963 100644 --- a/app/composables/useTourState.ts +++ b/app/composables/useTourState.ts @@ -33,7 +33,7 @@ export const useTourState = defineStore( persist: { key: 'xsh_assistant_tour_state', storage: piniaPluginPersistedstate.localStorage(), - paths: ['tourState'], + pick: ['tourState'], }, } ) -- 2.49.1