This commit is contained in:
““shijing 2021-09-08 11:29:09 +08:00
parent 7dc90e6c45
commit d5ab0dad5f
1 changed files with 2 additions and 2 deletions

View File

@ -653,7 +653,7 @@
const isEdit = this.dialogType1 === "edit"; const isEdit = this.dialogType1 === "edit";
if (isEdit) { if (isEdit) {
this.field.form=this.formID; this.field.form=this.formID;
this.field.field_choice = this.options; this.field.field_choice = this.field_choice;
updaterffield(this.field.id, this.field).then((res) => { updaterffield(this.field.id, this.field).then((res) => {
if (res.code >= 200) { if (res.code >= 200) {
this.fieldLists() this.fieldLists()
@ -663,7 +663,7 @@
}); });
} else { } else {
this.field.form=this.formID; this.field.form=this.formID;
this.field.field_choice = this.options; this.field.field_choice = this.field_choice;
createrffield(this.field).then((res) => { createrffield(this.field).then((res) => {
if (res.code >= 200) { if (res.code >= 200) {
this.fieldLists() this.fieldLists()