addWord
This commit is contained in:
parent
7dc90e6c45
commit
d5ab0dad5f
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue