From a5a29e02a2da530f79ff0829e58feea2fa693cec Mon Sep 17 00:00:00 2001 From: bisheng Date: Thu, 6 Jul 2023 14:17:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=8E=B7=E5=8F=96=E5=AD=97=E5=85=B8?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E4=B8=BA=E7=A9=BA=E6=97=B6=E7=9A=84=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- continew-admin-ui/src/store/modules/dict/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/continew-admin-ui/src/store/modules/dict/index.ts b/continew-admin-ui/src/store/modules/dict/index.ts index 908c4378..2aed7faf 100644 --- a/continew-admin-ui/src/store/modules/dict/index.ts +++ b/continew-admin-ui/src/store/modules/dict/index.ts @@ -6,7 +6,7 @@ const useDictStore = defineStore('dict', { actions: { // 获取字典 getDict(_name: string) { - if (_name === null && _name === '') { + if (_name == null || _name === '') { return null; } try {