From 6bab31d74c34ac2b164af1d88ccf0618133467d9 Mon Sep 17 00:00:00 2001 From: Bai Date: Fri, 23 Jul 2021 16:35:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=9B=B4=E6=96=B0=E8=A1=A8=E5=8D=95=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AccountListTable/UpdateSecretInfo.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/AccountListTable/UpdateSecretInfo.vue b/src/components/AccountListTable/UpdateSecretInfo.vue index 90949fa17..b05ac51ab 100644 --- a/src/components/AccountListTable/UpdateSecretInfo.vue +++ b/src/components/AccountListTable/UpdateSecretInfo.vue @@ -64,8 +64,9 @@ export default { this.$emit('updateAuthDone', res) this.$emit('update:visible', false) }).catch(err => { - this.$message.error(this.$tc('common.updateErrorMsg' + ' ' + err)) - this.$emit('update:visible', false) + const errMsg = Object.values(err.response.data).join(', ') + this.$message.error(this.$tc('common.updateErrorMsg') + ' ' + errMsg) + this.$emit('update:visible', true) }) }, handleCancel() {