dev_aliyun
cxt 6 years ago
parent 8aaa650d28
commit c227788ade

@ -152,9 +152,9 @@
console.log("#########type:"+ type)
console.log("#########url:"+ url)
var requirement = $("input[name='requirement']").val();
var requirement = $("textarea[name='requirement']").val();
if(requirement.trim() == ""){
$("input[name='requirement']").addClass("bor-red");
$("textarea[name='requirement']").addClass("bor-red");
$("#option_Item_notice").removeClass("none").html("内容不能为空");
return;
}
@ -181,7 +181,7 @@
}
})
console.log(in_vain);
$("input[name='requirement']").removeClass("bor-red");
$("textarea[name='requirement']").removeClass("bor-red");
$("input[name='subitems[]']").removeClass("bor-red");
$("#option_Item_notice").addClass("none");
}

Loading…
Cancel
Save