$scope.$watch('custArea', function(newValue, oldValue) {
angular.forEach(newValue, function(item, key) {
if($scope.custArea.indexOf("") > -){
// $scope.toastWarn("已选择中国大陆所有省市,其他值不可选");
$scope.custArea =[""];
}else{}
});
}, true);

最新文章

  1. 附加属性出现Failed to assign to property的问题
  2. (转)EntityFrameword “Reverse Engineer Code First” 连接 MySql
  3. DDD:两篇不错的文章
  4. 讲解Canvas中的一些重要方法
  5. chrome扩展
  6. Chrome 和 Webkit 的渊源
  7. POJ3414Pots
  8. XPath 初步讲解
  9. 如何创建phpinfo查看php信息?
  10. Mac OS X 10.10(yosemite)更新后,cocoapods出错, 及cocoapods更新至0.34后, 错误情况整理
  11. iOS相关,过年回来电脑上的证书都失效了,解决方法。
  12. <body>标签,网页上显示的内容放在这里
  13. Extjs4 类的定义和扩展
  14. Struts2之OGNL表达式
  15. 006 使用SpringMVC开发restful API四--用户信息的修复与删除,重在注解的定义
  16. 【Spring】9、Spring中的事件Event
  17. ubuntu如何为获得root权限
  18. [C/C++] multimap查找一个key对应的多个value
  19. GIS 地理坐标分类
  20. 【剑指offer】面试题 16. 数值的整数次方

热门文章

  1. 1.ActionBar
  2. 吴恩达机器学习笔记14-逻辑回归(Logistic Regression)
  3. muduo-ThreadLocal实现细节——阻止销毁未定义对象
  4. 《CLR Via C#》读书笔记:24.运行时序列化
  5. MySQL(4)---慢查询
  6. java提高(4)---数组增删 list删除 map删除
  7. tar (child): bzip2: Cannot exec: No such file or directory报错
  8. Buffer的工作方式
  9. CentOS安装使用.netcore极简教程(免费提供学习服务器)
  10. .Net程序员学用Oracle系列(14):子查询、集合查询