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 + '')