Merge pull request #76 from itviewer/dialog

操作成功,弹窗自动关闭
This commit is contained in:
bjdgyc 2022-02-09 10:38:36 +08:00 committed by GitHub
commit 1989b235fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -423,6 +423,7 @@ export default {
if (rdata.code === 0) {
this.$message.success(rdata.msg);
this.getData(1);
this.user_edit_dialog = false
} else {
this.$message.error(rdata.msg);
}

View File

@ -388,6 +388,7 @@ export default {
if (data.code === 0) {
this.$message.success(data.msg);
this.getData(1);
this.user_edit_dialog = false
} else {
this.$message.error(data.msg);
}