fix(store): fix pinia typo

This commit is contained in:
vben
2021-05-23 23:45:21 +08:00
parent 8e3f84c3b7
commit bbf178f64b
9 changed files with 40 additions and 38 deletions

View File

@@ -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';
},
},