设置内容为空不显示

1.if(content == null || content == ""){
//commonMsgAlert("请填写内容!");
$("#content").css("display","none");
return;
}
2.
{{? logDecorateContent.content!=null}}
<p class="decorate_text fontSize14">{{=logDecorateContent.content}}</p>
{{? }}
posted @ 2016-10-31 10:15  柳仙慧子  阅读(237)  评论(0编辑  收藏  举报