From b67be83a1987378620be9249445e013c4ef43ea8 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Tue, 1 Apr 2025 19:10:45 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/store/dict.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web-antd/src/store/dict.ts b/apps/web-antd/src/store/dict.ts index 3d7f4ff5..f47f944b 100644 --- a/apps/web-antd/src/store/dict.ts +++ b/apps/web-antd/src/store/dict.ts @@ -60,6 +60,9 @@ export const useDictStore = defineStore('app-dict', () => { function resetCache() { dictOptionsMap.clear(); + /** + * 不需要清空dictRequestCache 每次请求成功/失败都清空key + */ } /**