pages/login/resetPassword/resetPassword.vue
@@ -54,7 +54,7 @@ </div> </view> <u-form-item prop="secondPassword" label="二次确认" label="确认密码" required borderBottom> <u-input v-if='inputType==="password"' @@ -129,7 +129,7 @@ const regex2 = /^[A-Za-z]+$/ // 校验符号 const regex3 = /^[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]+$/ /^[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]+$/; if(regex1.test(value)) { this.level.push('low') return callback('密码强度过低')