Authored by 郭成尧

Merge branch 'feature/fcs' into 'release/5.7'

星号



See merge request !594
@@ -86,7 +86,7 @@ $addressForm.on('submit', function() { @@ -86,7 +86,7 @@ $addressForm.on('submit', function() {
86 return false; 86 return false;
87 } 87 }
88 88
89 - if (username && !/^[\u4E00-\u9FA5A-Za-z0-9]+$/gi.test(username)) { 89 + if (username && !/^[\u4E00-\u9FA5A-Za-z0-9*]+$/gi.test(username)) {
90 tip.show('收货人姓名不支持特殊符号'); 90 tip.show('收货人姓名不支持特殊符号');
91 return false; 91 return false;
92 } 92 }
@@ -49,7 +49,7 @@ $usernameInput.bind('input propertychange', function() { @@ -49,7 +49,7 @@ $usernameInput.bind('input propertychange', function() {
49 $btnSure.on('click', function() { 49 $btnSure.on('click', function() {
50 let username = $usernameInput.val().replace(/(^\s+)|(\s+$)/g, ''); 50 let username = $usernameInput.val().replace(/(^\s+)|(\s+$)/g, '');
51 51
52 - if (username && !/^[\u4E00-\u9FA5A-Za-z0-9]+$/gi.test(username)) { 52 + if (username && !/^[\u4E00-\u9FA5A-Za-z0-9*]+$/gi.test(username)) {
53 tip.show('收货人姓名不支持特殊符号'); 53 tip.show('收货人姓名不支持特殊符号');
54 return false; 54 return false;
55 } 55 }