|
@@ -99,7 +99,7 @@ import CaptchaInput from './components/CaptchaInput.vue';
|
|
|
import ModelSteps from './components/ModelSteps.vue';
|
|
|
import VerificationBox from './components/VerificationBox.vue';
|
|
|
import modelMixins from './modelMixins';
|
|
|
-import{patternPassWord} from '@/utils/commonOptions';
|
|
|
+import{checkPassWord} from '@/utils/commonOptions';
|
|
|
import http from '@/api/http.js';
|
|
|
import {departInterence } from "@/api/api.js";
|
|
|
export default {
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
if(this.passForm.pass2!==''){
|
|
|
this.$refs.passForm.validateField('pass2')
|
|
|
}
|
|
|
- if(!patternPassWord.test(value)){
|
|
|
+ if(!checkPassWord(value)){
|
|
|
callback(new Error('密码要求8位及以上,包含数字、大写字母、小写字母、特殊字符中的三个类型'))
|
|
|
}else{
|
|
|
callback()
|
|
@@ -282,7 +282,7 @@ export default {
|
|
|
resetPassCountDown(){
|
|
|
this.countDownNum--
|
|
|
this.checkPassStr = `去登陆(${this.countDownNum}s)`
|
|
|
- if(this.click<=0){
|
|
|
+ if(this.countDownNum<=0){
|
|
|
clearInterval(this.resetPassTimer)
|
|
|
this.$emit('changeModel')
|
|
|
return
|