diff --git a/src/components/TopNav/index.vue b/src/components/TopNav/index.vue index 62028af..e0d1825 100644 --- a/src/components/TopNav/index.vue +++ b/src/components/TopNav/index.vue @@ -118,6 +118,8 @@ function setVisibleNumber() { } function handleSelect(key, keyPath) { + + console.log(key) currentIndex.value = key const route = routers.value.find(item => item.path === key) if (isHttp(key)) { diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index f113e14..3189dd1 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -1,8 +1,8 @@