我在select里写的ng-change调用了一个事件,但是在我点击了option的选项后
事件并没有马上执行,而是在我点击了外部,select失去焦点后才执行
这样实在是不美观,求个大神帮忙看下,谢谢!
<li><select style="height:28px;width:45px;margin-left: 5px;margin-right: 5px" ng-model="pagesize"
ng-model-options="{updateOn: 'blur'}"
ng-change="updatesize()">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</li>