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

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
@@ -111,7 +111,7 @@ Page({
let pattern = /^(?=.*[a-zA-Z])(?=.*\d)(?=.*[~!@#$%^&*()_+`\-={}:";'<>?,.\/]).{8,}$/
if(!pattern.test(e.detail.value.newPassword)){
wx.showToast({
title: '密码由8位及以上数字、大小写字母特殊符号组成!',
title: '密码至少八位,需包含大小写字母、数字、特殊符号',
icon: 'none'
})
this.data.flag = false