js 判断是否为空
content = ""; content = null; content = undefined; content = 0; if(!content){ //过滤这几种情况 alert("输入为空"); return ; }