提交 ea328759 编写于 作者: C chenjianxing 提交者: jianxing

fix: 模板设置自定义字段单选框混乱

上级 0e13fc38
......@@ -163,6 +163,10 @@ export default {
this.templateContainIds.add(data.id);
data.fieldId = data.id;
data.id = null;
data.options = JSON.parse(data.options);
if (data.type === 'checkbox') {
data.defaultValue = [];
}
this.relateFields.push(data);
},
relateField() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册