From bd0241a9ac3306f94ee18a68c47735232b2a4a9a Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Thu, 12 Sep 2024 16:46:20 +0800 Subject: [PATCH] chore: wrong debug log --- apps/web-antd/src/utils/dict.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/web-antd/src/utils/dict.ts b/apps/web-antd/src/utils/dict.ts index ec933844..be574ded 100644 --- a/apps/web-antd/src/utils/dict.ts +++ b/apps/web-antd/src/utils/dict.ts @@ -6,14 +6,10 @@ import { type Option, useDictStore } from '#/store/dict'; // todo 重复代码的封装 export function getDict(dictName: string): DictData[] { const { dictRequestCache, getDict, setDictInfo } = useDictStore(); - console.log('aaaaa'); // 这里拿到 const dictList = getDict(dictName); // 检查请求状态缓存 if (dictList.length === 0 && !dictRequestCache.has(dictName)) { - console.log('bbbb'); - console.log(dictList.length); - console.log(dictRequestCache.has(dictName)); dictRequestCache.set( dictName, dictDataInfo(dictName).then((resp) => {