From dbad929c1f743d97e2225afa6b4a89e668ee9da4 Mon Sep 17 00:00:00 2001 From: xuyiming Date: Tue, 3 Aug 2021 15:05:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E4=B8=AA=E4=BA=BA=E6=A1=A3=E6=A1=88?= =?UTF-8?q?=E4=B8=AD=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=EF=BC=8C=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E4=BF=AE=E6=94=B9=E6=97=A0=E5=93=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/user/user_info.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/pages/user/user_info.vue b/src/pages/user/user_info.vue index ec09105..4fa0d20 100644 --- a/src/pages/user/user_info.vue +++ b/src/pages/user/user_info.vue @@ -370,8 +370,7 @@ export default { ], email: [ { - pattern: - /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[-|_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/, + pattern: /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[-|_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/, message: "请输入正确的邮箱", }, ], @@ -544,11 +543,11 @@ export default { origin_password: CryptoJS.AES.encrypt( this.form.passwordOld, "swuE9cmCZQwrkYRV" - ), + ).toString(), new_password: CryptoJS.AES.encrypt( this.form.passwordNew, "swuE9cmCZQwrkYRV" - ), + ).toString(), }, }; this.$api.user.editUserPassword(query).then((response) => { @@ -865,4 +864,4 @@ export default { width: 20px; right: 10px; } - \ No newline at end of file + -- 2.26.0