This commit is contained in:
2026-01-16 09:37:25 +08:00
parent 947cabd061
commit f33bf735d9
16 changed files with 843 additions and 868 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import { defineStore } from 'pinia'
import i18n from '@/i18n'
import { customStorage } from '../persist'
export const useI18nStore = defineStore(
'i18n',
@@ -28,7 +29,7 @@ export const useI18nStore = defineStore(
persist: {
key: 'i18n-store',
storage: localStorage,
storage: customStorage,
pick: ['currentLocale']
}
}