发布于 11个月前 js 判断null var tmp = null; if (!tmp && typeof(tmp)!="undefined" && tmp!=0){ alert("null"); }