zhaobao %!s(int64=3) %!d(string=hai) anos
pai
achega
f4ceced93d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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() {