From c1a32ff0663b906043041ab730b82f7adba15178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=95=E9=87=91=E6=B3=BD?= <1098696801@qq.com> Date: Thu, 29 Sep 2022 00:24:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E5=AD=97=E5=85=B8?= =?UTF-8?q?=E8=8E=B7=E5=8F=96label=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- magic-boot-ui/src/scripts/common.js | 1 + 1 file changed, 1 insertion(+) diff --git a/magic-boot-ui/src/scripts/common.js b/magic-boot-ui/src/scripts/common.js index f2b0834..4719d06 100644 --- a/magic-boot-ui/src/scripts/common.js +++ b/magic-boot-ui/src/scripts/common.js @@ -22,6 +22,7 @@ common.getDictType = (type) => { } common.getDictLabel = (type, value) => { + value = (value || '') + '' var values = [] value.split(',').forEach(v => { const list = dictData.filter(it => it.type === type && it.value === v + '')