x判断

判断条件   大于x    或者   小于  y       或者   大于x  且小于y

if ($scope.timeminstart != "" || $scope.timeminend != "") {

if ((($scope.timeminstart != "" && $scope.timeminstart != null) ? $scope.stopPointsArr[j].Seconds >= mintime : true) && (($scope.timeminend != "" && $scope.timeminend != null) ? $scope.stopPointsArr[j].Seconds <= maxtime : true))

}

 

posted @ 2017-08-30 14:13  cacti_vc  阅读(136)  评论(0编辑  收藏  举报