소스 검색

统计图表导航

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