下拉框select的写法: <select style="display: inline-block; width: 79%;" class="cus-input" ng-change="changeType({{$index}})" ng-model="goods.type"> <option ng-value="x.id" ng-repeat="x in type" ng-bind="x.name" ng-selected="x.id == goods.type"></option> </select>
{{$index}}是angular的0开始的序号。ng-model="goods.type"是该那项选中,一定要加上。