JavaScript空判断 if(backInfo != "" && backInfo != null && typeof(backInfo)!="undefined"){ alert(backInfo); }