未验证 提交 bf8e9b57 编写于 作者: W Wangyizhi1 提交者: GitHub

[UI] null pointer exception (#6325)

上级 46257834
......@@ -55,7 +55,7 @@
</el-select>
</template>
</m-list-box-f>
<div class="alertForm">
<div class="alertForm">
<template>
<form-create v-model="$f" :rule="rule" :option="{submitBtn:false}" size="mini"></form-create>
</template>
......@@ -127,6 +127,10 @@
if (item.title.indexOf('$t') !== -1) {
item.title = this.$t(item.field)
}
// fix null pointer exception
if (!item.props) {
item.props = {}
}
})
}).catch(e => {
this.$message.error(e.msg || '')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册