修改弹框问题

This commit is contained in:
不做码农 2022-04-17 22:16:26 +08:00
parent bf5ee4d39e
commit bc633bf62d

View File

@ -258,13 +258,13 @@ export default {
if (valid) {
if (this.form.dictId != undefined) {
updateType(this.form).then((response) => {
this.msgSuccess("修改成功");
this.$modal.msgSuccess("修改成功");
this.open = false;
this.getList();
});
} else {
addType(this.form).then((response) => {
this.msgSuccess("新增成功");
this.$modal.msgSuccess("新增成功");
this.open = false;
this.getList();
});