perf: store

This commit is contained in:
xingyu
2022-08-03 12:55:27 +08:00
parent b64261a293
commit 4bf8576dbd
3 changed files with 9 additions and 6 deletions

View File

@ -28,7 +28,7 @@ export const useDictStore = defineStore({
getDictMap(): Recordable {
return this.dictMap
},
getHasDictData(): Boolean {
getHasDictData(): boolean {
if (this.dictMap.length > 0) {
return true
} else {