<div class="jb51code"> <pre class="brush:js;"> /** * 判断是否null * @param data */ function isNull(data){ return (data == "" || data == undefined || data == null) ? "暂无" : data; }</pre> </div>