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