var tmp = this.pullDown.getValue(); if(!tmp && typeof(tmp)!="undefined" && tmp!=0){ //判断null var alertDate = 0; }else{ var alertDate = this.pullDown.getValue().val; };