提交 5922bcfa 编写于 作者: B break60

fix

上级 ecb4df40
......@@ -154,7 +154,6 @@
let regPassword = /^(?![0-9]+$)(?![a-z]+$)(?![A-Z]+$)(?![`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]+$)[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、0-9A-Za-z]{6,22}$/;
let userNameLength = this.userName.length
console.log(userNameLength)
// user name
if (userNameLength<3 || userNameLength>39) {
this.$message.warning(`${i18n.$t('User name length is between 3 and 39')}`)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册