ng -options属性特别的好用,可以智能的从控制器中取值当前的值做 ... as mainctrl"> <select ng-model="mainctrl.value" ng-options="item for item ...
確定! 回上一頁