【修改】修改密码提示语长度

This commit is contained in:
fengachen
2022-03-28 19:10:23 +08:00
parent fc2caa67ff
commit c982d323fb
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ Page({
let pattern = /^(?=.*[a-zA-Z])(?=.*\d)(?=.*[~!@#$%^&*()_+`\-={}:";'<>?,.\/]).{8,}$/
if(!pattern.test(e.detail.value.password)){
wx.showToast({
title: '密码长度至少8位,并包括大、小写英文字母、特殊字符!',
title: '密码至少八位,需包含大小写字母、数字、特殊符号',
icon: 'none'
})
this.data.flag = false