From 8d6e2efb533f7178e4c2ab9805592a681d21962f Mon Sep 17 00:00:00 2001 From: Timothy Yin Date: Tue, 10 Feb 2026 01:18:02 +0800 Subject: [PATCH] =?UTF-8?q?chore(persist):=20=E4=BF=AE=E5=A4=8D=E6=8C=81?= =?UTF-8?q?=E4=B9=85=E5=8C=96=E7=8A=B6=E6=80=81=20pick=20=E5=AD=97?= =?UTF-8?q?=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'], }, } )