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

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

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())