//方法一,借用ng-init实现
<select ng-model="mySelect" ng-init="mySelect=0">
<option value="0"></option>
<option value="1"></option>
<option value="2"></option>
</select>
//方法二,借用ng-selected实现,但是此方法实现后model里面默认是没有值的哦
<select ng-model="mySelect">
<option value="0" ng-selected="0"></option>
<option value="1"></option>
<option value="2"></option>
</select>
转载请注明原文地址: https://ju.6miu.com/read-272.html