fix:修改asset account的 重复点击不好使的问题
This commit is contained in:
@@ -143,8 +143,8 @@
|
||||
let editUser = JSON.parse(JSON.stringify(this.editUser))
|
||||
editUser.roleIds = [editUser.roleIds]
|
||||
if (this.editUser.userId) {
|
||||
this.prevent_opt.save=false;
|
||||
this.$put('sys/user/update',editUser).then(response => {
|
||||
this.prevent_opt.save=false;
|
||||
if (response.code === 200) {
|
||||
this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")});
|
||||
this.esc(true);
|
||||
|
||||
@@ -528,7 +528,6 @@
|
||||
},
|
||||
setAccountValidResult(result, protocol) {
|
||||
this.accountValidResult = result;
|
||||
this.prevent_opt.save=false;
|
||||
let index = this.errorProtocol.indexOf(protocol);
|
||||
if (result) {
|
||||
index != -1 ? this.errorProtocol.splice(index, 1) : "";
|
||||
|
||||
Reference in New Issue
Block a user