From ee545589af6e78d7b36f9aeb0f2cb61ff3140999 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 25 Jul 2025 14:57:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E7=AE=B1=E6=A0=A1=E9=AA=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/trials/trials-myinfo/account.vue | 2 +- src/views/user/myInfo.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/trials/trials-myinfo/account.vue b/src/views/trials/trials-myinfo/account.vue index e42bb512..42e7b71b 100644 --- a/src/views/trials/trials-myinfo/account.vue +++ b/src/views/trials/trials-myinfo/account.vue @@ -293,7 +293,7 @@ export default { if (localStorage.getItem('CompanyInfo')) { let CompanyInfo = JSON.parse(localStorage.getItem('CompanyInfo')); if (CompanyInfo.EmailRegexStr) { - reg = CompanyInfo.EmailRegexStr + reg = new RegExp(CompanyInfo.EmailRegexStr) } } if (this.userForm.EMail && reg.test(this.userForm.EMail)) { diff --git a/src/views/user/myInfo.vue b/src/views/user/myInfo.vue index 6676e5a2..87426c53 100644 --- a/src/views/user/myInfo.vue +++ b/src/views/user/myInfo.vue @@ -441,7 +441,7 @@ export default { if (localStorage.getItem('CompanyInfo')) { let CompanyInfo = JSON.parse(localStorage.getItem('CompanyInfo')); if (CompanyInfo.EmailRegexStr) { - reg = CompanyInfo.EmailRegexStr + reg = new RegExp(CompanyInfo.EmailRegexStr) } } if (this.userForm.EMail && reg.test(this.userForm.EMail)) {