我正在使用离子框架构建android应用程序。我使用离子标签面临问题。
离子导航视图内容未使用ng-repeat显示,但同样使用ng-repeat 。标签标题显示正确,但标签内容显示为空白。
<ion-tabs class="tabs-striped tabs-top tabs-background-positive tabs-color-light">
<ion-tab ng-repeat="infotabs in customerInfo" title="{{infotabs.tabval}}" href="#/customerview/{{infotabs.tabname}}">
<ion-nav-view name="customerview-{{infotabs.tabname}}"></ion-nav-view>
</ion-tab>
</ion-tabs>
<ion-tabs class="tabs-striped tabs-top tabs-background-positive tabs-color-light">
<ion-tab title="General" href="#/customerview/General">
<ion-nav-view name="customerview-General"></ion-nav-view>
</ion-tab>
<ion-tab title="Employment" href="#/customerview/Employment">
<ion-nav-view name="customerview-Employment"></ion-nav-view>
</ion-tab>
<ion-tab title="Relationship" href="#/customerview/Relationship">
<ion-nav-view name="customerview-Relationship"></ion-nav-view>
</ion-tab>
</ion-tabs>