not show active tab title correctly in AngularStrap tab

前端 未结 1 427
长发绾君心
长发绾君心 2021-01-17 02:21

I have four tabs using the latest AngularStrap tab, every tab has a close button, and every tab pane using the latest ui-grid.

  1. expect
相关标签:
1条回答
  • 2021-01-17 02:59

    When you splice from the array the indices change because the element is removed so $rootScope.tabs.activeTab = $rootScope.tabs[index].title; doesn't align anymore;

    0 讨论(0)
提交回复
热议问题