处理问题
This commit is contained in:
parent
d1b72dc1ea
commit
4d91514ebd
@ -137,9 +137,6 @@
|
|||||||
if(/(^\_)|(\__)|(\_+$)/.test(value)){
|
if(/(^\_)|(\__)|(\_+$)/.test(value)){
|
||||||
return '用户名首尾不能出现下划线\'_\'';
|
return '用户名首尾不能出现下划线\'_\'';
|
||||||
}
|
}
|
||||||
if(/^\d+\d+\d$/.test(value)){
|
|
||||||
return '用户名不能全为数字';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user