Vue3 重构:流程模型的列表和新增、修改

This commit is contained in:
YunaiV committed 2023-03-26 00:16:28 +08:00
1 parent d0ed5edb6e
commit 1854b85b40
6 files changed
+447 -680

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ export default defineComponent({
return null
}
// 解决自定义字典标签值为零时标签不渲染的问题
if (props.value === undefined) {
if (props.value === undefined || props.value === null) {
return null
}
getDictObj(props.type, props.value.toString())