应该在if内设置标志

This commit is contained in:
shizhong 2024-03-21 15:20:20 +08:00
parent 75d0bdcc49
commit 88e48b2952

View File

@ -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) {