This commit is contained in:
姚亚男
2021-10-20 12:02:08 +08:00
parent 1a6ef13392
commit 9e707240f9
13 changed files with 43 additions and 13 deletions
+2 -1
View File
@@ -77,7 +77,7 @@ Page({
let pattern = /^(?=.*[a-zA-Z])(?=.*\d)(?=.*[~!@#$%^&*()_+`\-={}:";'<>?,.\/]).{8,}$/
if(!pattern.test(e.detail.value.password)){
wx.showToast({
title: '密码由8位数字、大小写字母和特殊符号组成!!',
title: '密码由8位数字、大小写字母和特殊符号组成!',
icon: 'none'
})
this.data.flag = false
@@ -129,6 +129,7 @@ Page({
}else{
wx.showToast({
title: res.message,
icon: 'none',
duration: 2000
})
this.handleChangeCheckCode()