邮箱校验修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
feed991971
commit
ee545589af
|
@ -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)) {
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue