zhaobao 3 년 전
부모
커밋
f4ceced93d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/layout/components/Navbar.vue

+ 1 - 1
src/layout/components/Navbar.vue

@@ -141,7 +141,7 @@ export default {
         index = parseFloat(localStorage.getItem('ehpt_tabIndex'))
       }
       this.sideTabChange(index, {
-        path: this.$route.fullPath
+        path: this.sideMenuTabList.filter(item => item.id === index)[0].path
       })
     },
     toggleSideBar() {