码迷,mamicode.com
首页 > 其他好文 > 详细

x判断

时间:2017-08-30 15:30:41      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:point   art   seconds   int   $scope   cond   src   大于   com   

技术分享

判断条件   大于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))

}

 

x判断

标签:point   art   seconds   int   $scope   cond   src   大于   com   

原文地址:http://www.cnblogs.com/cacti/p/7452879.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!