昊爷

导航

 
循环输出
for (var i = 1; i < 7; i++) {
var res='res'+i;
$scope[res]=i;	
}

  

posted on 2017-01-18 17:02  昊爷  阅读(3322)  评论(0编辑  收藏  举报