最近在项目中定义一个tr标签如:<tr ng-show="criteria.educationTr"> ,然后在js文件中$scope.criteria.educationTr做一些变量的赋值false,true的操作,结果alert出$scope.criteria.educationTr为true或者false的时候标签属性ng_show不起作用,后来我将Tr改成了isShow结果ng_show起作用了。
AngularJS标签属性不起作用
最新推荐文章于 2021-06-28 03:53:57 发布