update: 字典loading

This commit is contained in:
dap
2025-04-07 17:20:41 +08:00
parent 5b72d9b79d
commit 92fe406ae9
2 changed files with 13 additions and 2 deletions

View File

@@ -59,6 +59,7 @@ export const useDictStore = defineStore('app-dict', () => {
}
function resetCache() {
dictRequestCache.clear();
dictOptionsMap.clear();
/**
* 不需要清空dictRequestCache 每次请求成功/失败都清空key