应该在if内设置标志
This commit is contained in:
parent
75d0bdcc49
commit
88e48b2952
@ -63,10 +63,10 @@ export const useDictStore = defineStore('dict', {
|
||||
cssClass: dictData.cssClass
|
||||
})
|
||||
})
|
||||
this.dictMap = dictDataMap
|
||||
this.isSetDict = true
|
||||
wsCache.set(CACHE_KEY.DICT_CACHE, dictDataMap, { exp: 60 }) // 60 秒 过期
|
||||
}
|
||||
this.dictMap = dictDataMap
|
||||
this.isSetDict = true
|
||||
wsCache.set(CACHE_KEY.DICT_CACHE, dictDataMap, { exp: 60 }) // 60 秒 过期
|
||||
}
|
||||
},
|
||||
getDictByType(type: string) {
|
||||
|
Loading…
Reference in New Issue
Block a user