jjzjj

SettingID

全部标签

html - angularjs ng-repeat过滤器不等于

当我尝试使用以下语法时,它不会过滤或排除:-ng-repeat="optioninvm.eesSettingIdOptions|filter:{SettingID:'!vm.eesAdminSetupData.SettingID'}但是当我把它改成:-ng-repeat="optioninvm.eesSettingIdOptions|filter:{SettingID:'!51'}他们应该是一样的吧? 最佳答案 你应该把你的变量放在引号之外:ng-repeat="optioninvm.eesSettingIdOptions|filt

html - angularjs ng-repeat过滤器不等于

当我尝试使用以下语法时,它不会过滤或排除:-ng-repeat="optioninvm.eesSettingIdOptions|filter:{SettingID:'!vm.eesAdminSetupData.SettingID'}但是当我把它改成:-ng-repeat="optioninvm.eesSettingIdOptions|filter:{SettingID:'!51'}他们应该是一样的吧? 最佳答案 你应该把你的变量放在引号之外:ng-repeat="optioninvm.eesSettingIdOptions|filt