Commit b6670aae by doszhang

dos

parent 494b2a7e
......@@ -111,16 +111,16 @@ $(document).ready(function () {
function checkInfo() {
let name = $('input[name=name]').val();
let business = $('input[name=business]').val();
if (name.match(/^\s*$/)) {
$('#notification_area').remove();
my_notify('请填写姓名');
return false;
}
if (!business.match(/^\d{10}$/)) {
$('#notification_area').remove();
my_notify('业务号填写有误');
return false;
}
// if (name.match(/^\s*$/)) {
// $('#notification_area').remove();
// my_notify('请填写姓名');
// return false;
// }
// if (!business.match(/^\d{10}$/)) {
// $('#notification_area').remove();
// my_notify('业务号填写有误');
// return false;
// }
if ($('input[name=btn-upload]').val() == '') {
$('#notification_area').remove();
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