0
代碼在這裏UI,只選擇第一個選項卡工作
<tabset justified="true">
<tab heading="tab1" select="switchTier1Tab('qe')">
tab1content
</tab>
<tab heading="tab2" select="switchTab('default')">
<ui-select multiple ng-model="multipleResult.selectedRecordsWithGroupBy" theme="select2" on-select="modelselected($item, $model)" style="width: 100%" >
<ui-select-match placeholder="search records here...">{{$item.name}}</ui-select-match>
<ui-select-choices group-by="'group'" repeat="record in records | propsFilter: {name: $select.search}">
<span ng-bind-html="record.name | highlight: $select.search"></span>
</ui-select-choices>
</ui-select>
</tab>
<tab heading="xx">
tabcontent3
</tab>
</tabset>
當我把UI,選擇第一個選項卡,它的工作原理,但是當我把它放在第二個選項卡。ui-select不起作用,我可以看不到數據。有沒有人可以幫助解釋這一點?