Commit b6670aae by doszhang

dos

parent 494b2a7e
...@@ -111,16 +111,16 @@ $(document).ready(function () { ...@@ -111,16 +111,16 @@ $(document).ready(function () {
function checkInfo() { function checkInfo() {
let name = $('input[name=name]').val(); let name = $('input[name=name]').val();
let business = $('input[name=business]').val(); let business = $('input[name=business]').val();
if (name.match(/^\s*$/)) { // if (name.match(/^\s*$/)) {
$('#notification_area').remove(); // $('#notification_area').remove();
my_notify('请填写姓名'); // my_notify('请填写姓名');
return false; // return false;
} // }
if (!business.match(/^\d{10}$/)) { // if (!business.match(/^\d{10}$/)) {
$('#notification_area').remove(); // $('#notification_area').remove();
my_notify('业务号填写有误'); // my_notify('业务号填写有误');
return false; // return false;
} // }
if ($('input[name=btn-upload]').val() == '') { if ($('input[name=btn-upload]').val() == '') {
$('#notification_area').remove(); $('#notification_area').remove();
my_notify('请上传头像'); my_notify('请上传头像');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment