【修改】 密码修改提示语
This commit is contained in:
@@ -201,7 +201,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
|
||||
|
||||
Reference in New Issue
Block a user