From 33c6fba9642d72f42c1d65b9f8db8542f0c51083 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 29 Nov 2021 14:26:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=AC=E5=85=B1=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E5=88=86=E4=BA=AB=E5=AF=86=E7=A0=81=E9=94=99=E8=AF=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BD=8D=E7=BD=AE=E8=A6=86=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/link/pwd/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/views/link/pwd/index.vue b/frontend/src/views/link/pwd/index.vue index 54211c7e9a..272cc7caa3 100644 --- a/frontend/src/views/link/pwd/index.vue +++ b/frontend/src/views/link/pwd/index.vue @@ -85,10 +85,10 @@ export default { }, // 验证密码是否正确 如果正确 设置请求头部带LINK-PWD-TOKEN=entrypt(pwd)再刷新页面 refresh() { + this.msg = null this.$refs.pwdForm.validate(valid => { if (!valid) return false const param = { - /* password: encrypt(this.form.password), */ password: this.form.password, resourceId: this.resourceId } @@ -96,7 +96,6 @@ export default { if (!res.data) { this.msg = this.$t('pblink.pwd_error') } else { - // window.location.reload() this.$emit('fresh-token') } })