From 020b10b34bb7ccef215526327083da002878eba2 Mon Sep 17 00:00:00 2001 From: zuohuaijun Date: Mon, 8 Jul 2024 18:29:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=8E=E4=BF=AE=E5=A4=8D=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=AD=97=E5=85=B8=E9=A1=B9=E7=B1=BB=E5=9E=8B=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/stores/userInfo.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Web/src/stores/userInfo.ts b/Web/src/stores/userInfo.ts index 39c74518..53190884 100644 --- a/Web/src/stores/userInfo.ts +++ b/Web/src/stores/userInfo.ts @@ -132,6 +132,7 @@ export const useUserInfo = defineStore('userInfo', { // 根据字典类型和代码取字典项 getDictItemByCode(typePCode: string, val: string) { + val = val.toString(); if (val) { const _val = val.toString(); const ds = this.getDictDatasByCode(typePCode);