fix: 模板设置自定义字段单选框混乱
This commit is contained in:
parent
0e13fc3883
commit
ea328759e6
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue