angular ui select

叶恩
2023-12-01
 
<ui-select ng-model="vm.coupon[vm.editorTab].value" theme="bootstrap">
    <ui-select-match >{{$select.selected.name}}
    </ui-select-match>
    <ui-select-choices repeat="data in vm.couponList">{{data.name}}</ui-select-choices>
</ui-select>
 
 
vm.couponList = res.data.result;
设置默认值
        vm.coupon[groupId].value = vm.couponList[index];
if dom element 'ui-select' doesn't show, it may be the height of parent element limitation.

 类似资料:

相关阅读

相关文章

相关问答