dev_aliyun
daiao 5 years ago
commit 112ac77ea7

@ -145,10 +145,21 @@
if (!title || title.length == 0) {
$("#title_notice").removeClass("none");
$("#title_notice").html("请输入标题");
return
}else{
$("#title_notice").addClass("none");
}
if (!title || title.length >10) {
$("#title_notice").removeClass("none");
$("#title_notice").html("字数不能超过10个字");
return
}else{
$("#title_notice").addClass("none");
}
if (!content || content.length == 0) {
$("#des_notice").removeClass("none");
return

@ -53,7 +53,7 @@ class SiderBar extends Component {
<div className="-task-sidebars" style={{right: "240px"}}>
<a href="/competitions">
<img src={getImageUrl("/images/educoder/competition/lvmeng.png")} width="150px" height="150px" />
<img src={getImageUrl("images/educoder/competition/lvmeng.png")} width="150px" height="150px" />
</a>
</div>

Loading…
Cancel
Save