angularJS动态设置ng-model
2021-06-22 06:04
标签:angularjs动态设置ng-model 利用$index判断获取选中的checkbox 本文出自 “紫枫5966” 博客,请务必保留此出处http://zifeng5966.blog.51cto.com/8763113/1947645 angularJS动态设置ng-model 标签:angularjs动态设置ng-model 原文地址:http://zifeng5966.blog.51cto.com/8763113/1947645 //点击获取系统ID
$scope.getSysId = function(t){
u="";
// $("#s1 option").remove();
// $("#s2 option").remove();
t="";
for(var prop in $scope.conff){
if($scope.conff[prop] != false){
t+=$scope.conff[prop];
t=t+‘\,‘;
var k = $scope.conff[prop];
var CoreUrl2 = new coreUrl({"transCode":"B000603","sysId":k});
CoreUrl2.$save(function(objc){
u+=objc.row[0].sysName;
u=u+‘ ‘
$scope.uu = u;
});
}
// if($scope.conff[prop] != false){
// t+=$scope.conff[prop];
// t=t+‘\,‘;
// }
}
t = t.substr(0,t.length-1);
$scope.userSysList = t
};
文章标题:angularJS动态设置ng-model
文章链接:http://soscw.com/index.php/essay/97246.html