From 915471e9e83af6c836f5e59ea74724af8f1aedee Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 25 Dec 2020 11:59:56 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E5=AF=86=E7=A0=81=E7=9A=84=E5=88=A4=E6=96=AD=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/rightBox/accountBox.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/common/rightBox/accountBox.vue b/nezha-fronted/src/components/common/rightBox/accountBox.vue index e2b9b9a99..20f234f1f 100644 --- a/nezha-fronted/src/components/common/rightBox/accountBox.vue +++ b/nezha-fronted/src/components/common/rightBox/accountBox.vue @@ -115,7 +115,7 @@ console.log(value); if (value === ''&& !this.editUser.password) { callback(new Error(this.$t('validate.required'))); - }else if(this.editUser.password){ + }else if(value === ''&&this.editUser.password){ callback(new Error(this.$t('config.account.inputConfirmPwd'))); }else if (value !== this.editUser.password) { callback(new Error(this.$t('config.account.confirmPwdErr')));