mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 10:13:28 +08:00
修正生成代码 el-dialog 提示校验规则失败字段
This commit is contained in:
parent
4c3eecb805
commit
9e86def024
@ -497,7 +497,7 @@ export default {
|
|||||||
for (let key in obj) {
|
for (let key in obj) {
|
||||||
a.push(obj[key][0].message);
|
a.push(obj[key][0].message);
|
||||||
}
|
}
|
||||||
this.$modal.msgError(a[0]);
|
this.#[[$modal]]#.msgError(a[0]);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -553,7 +553,7 @@ export default {
|
|||||||
for (let key in obj) {
|
for (let key in obj) {
|
||||||
a.push(obj[key][0].message);
|
a.push(obj[key][0].message);
|
||||||
}
|
}
|
||||||
this.$modal.msgError(a[0]);
|
this.#[[$modal]]#.msgError(a[0]);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -477,7 +477,7 @@ function submitForm() {
|
|||||||
for (let key in obj) {
|
for (let key in obj) {
|
||||||
a.push(obj[key][0].message);
|
a.push(obj[key][0].message);
|
||||||
}
|
}
|
||||||
this.$modal.msgError(a[0]);
|
this.#[[$modal]]#.msgError(a[0]);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -544,7 +544,7 @@ function submitForm() {
|
|||||||
for (let key in obj) {
|
for (let key in obj) {
|
||||||
a.push(obj[key][0].message);
|
a.push(obj[key][0].message);
|
||||||
}
|
}
|
||||||
this.$modal.msgError(a[0]);
|
this.#[[$modal]]#.msgError(a[0]);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user