zhongxiaoyu пре 2 година
родитељ
комит
967dfc33d4
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/statisticsCharts/components/statisticsTabs.vue

+ 1 - 1
src/views/statisticsCharts/components/statisticsTabs.vue

@@ -229,7 +229,7 @@ export default {
     '$route.path': {
       handler(path) {
         let activeIndex = null
-        this.tabList.some((tab, index) => {
+        this.newTabList.some((tab, index) => {
           if (path.includes(tab.path)) {
             activeIndex = index
             return true