mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 09:34:19 +08:00
fix(store): fix pinia typo
This commit is contained in:
@@ -21,10 +21,10 @@ export const useLocaleStore = defineStore({
|
||||
localInfo: lsLocaleSetting,
|
||||
}),
|
||||
getters: {
|
||||
getShowPicker() {
|
||||
getShowPicker(_) {
|
||||
return !!this.localInfo?.showPicker;
|
||||
},
|
||||
getLocale(): LocaleType {
|
||||
getLocale(_): LocaleType {
|
||||
return this.localInfo?.locale ?? 'zh_CN';
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user