0
如果我在配置模塊中啓用html5mode爲true,則打開accordion-group的「超鏈接」會將url重新路由回基礎url。手風琴團隊不僅沒有開放,而且你已經改變了路線。當html5mode沒有啓用時,手風琴組工作正常。如何在html5mode中使angular-ui bootstrap accordion group工作
有沒有一個簡單的解決方案,或者我將不得不深入angularjs-ui源?或者我只是運氣好html5mode? 我的手風琴代碼非常簡單:
<accordion close-others='true'>
<accordion-group ng-repeat='trip in retrieved.iss' heading='ISS: {{trip.date}}'>
<p class='deleteItem' ng-click='deleteItem(trip.uniqueCount)'>X</p>
<p><span class='btn-group ' data-toggle='buttons-checkbox'>
<button type='button' class='btn btn-primary small-btn' ng-model='individualRadioModel' btn-radio="'Mine'">Mine</button>
<button type='button' class='btn btn-primary small-btn' ng-model='individualRadioModel' btn-radio="'All'">All</button>
</span></p>
<p ng-repeat='student in trip.studentList | matchStudents:individualRadioModel'>{{student}}</p>
</accordion-group>