From 7e729dc98ee1fd82e443263d6b638ee7c60d7b95 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Mon, 21 Dec 2020 16:25:58 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9asset=20account?= =?UTF-8?q?=E7=9A=84=20=E9=87=8D=E5=A4=8D=E7=82=B9=E5=87=BB=E4=B8=8D?= =?UTF-8?q?=E5=A5=BD=E4=BD=BF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/rightBox/accountBox.vue | 2 +- nezha-fronted/src/components/common/rightBox/assetBox.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/rightBox/accountBox.vue b/nezha-fronted/src/components/common/rightBox/accountBox.vue index f50624bbb..ad663f740 100644 --- a/nezha-fronted/src/components/common/rightBox/accountBox.vue +++ b/nezha-fronted/src/components/common/rightBox/accountBox.vue @@ -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); diff --git a/nezha-fronted/src/components/common/rightBox/assetBox.vue b/nezha-fronted/src/components/common/rightBox/assetBox.vue index 71cd2dcc4..626d70253 100644 --- a/nezha-fronted/src/components/common/rightBox/assetBox.vue +++ b/nezha-fronted/src/components/common/rightBox/assetBox.vue @@ -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) : "";