修正生成代码 el-dialog 提示校验规则失败字段

This commit is contained in:
lingdeng 2022-04-18 21:03:19 +08:00
parent 4c3eecb805
commit 9e86def024
4 changed files with 4 additions and 4 deletions

View File

@ -497,7 +497,7 @@ export default {
for (let key in obj) {
a.push(obj[key][0].message);
}
this.$modal.msgError(a[0]);
this.#[[$modal]]#.msgError(a[0]);
return false;
}
});

View File

@ -553,7 +553,7 @@ export default {
for (let key in obj) {
a.push(obj[key][0].message);
}
this.$modal.msgError(a[0]);
this.#[[$modal]]#.msgError(a[0]);
return false;
}
});

View File

@ -477,7 +477,7 @@ function submitForm() {
for (let key in obj) {
a.push(obj[key][0].message);
}
this.$modal.msgError(a[0]);
this.#[[$modal]]#.msgError(a[0]);
return false;
}
});

View File

@ -544,7 +544,7 @@ function submitForm() {
for (let key in obj) {
a.push(obj[key][0].message);
}
this.$modal.msgError(a[0]);
this.#[[$modal]]#.msgError(a[0]);
return false;
}
});