在对应的 controller 中定义ng-model全局数据 $scope.myColor ,并为其赋值,该值即为 select 的默认值。 代码如下:. angular.module('myApp', []) .
確定! 回上一頁