...
|
...
|
@@ -49,7 +49,7 @@ $usernameInput.bind('input propertychange', function() { |
|
|
$btnSure.on('click', function() {
|
|
|
let username = $usernameInput.val().replace(/(^\s+)|(\s+$)/g, '');
|
|
|
|
|
|
if (username && !/^[\u4E00-\u9FA5A-Za-z0-9]+$/gi.test(username)) {
|
|
|
if (username && !/^[\u4E00-\u9FA5A-Za-z0-9*]+$/gi.test(username)) {
|
|
|
tip.show('收货人姓名不支持特殊符号');
|
|
|
return false;
|
|
|
}
|
...
|
...
|
|