转为使用element-plus
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { defineStore } from 'pinia'
|
||||
import i18n from '@/i18n'
|
||||
import { customStorage } from '../persist'
|
||||
|
||||
export const useI18nStore = defineStore(
|
||||
'i18n',
|
||||
@@ -29,7 +28,6 @@ export const useI18nStore = defineStore(
|
||||
|
||||
persist: {
|
||||
key: 'i18n-store',
|
||||
storage: customStorage,
|
||||
pick: ['currentLocale']
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user