diff --git a/src/renderer/src/layout/components/Aside.vue b/src/renderer/src/layout/components/Aside.vue index 820923a..fa3cdf6 100644 --- a/src/renderer/src/layout/components/Aside.vue +++ b/src/renderer/src/layout/components/Aside.vue @@ -2,7 +2,7 @@
- + @@ -53,7 +53,7 @@ const router = useRouter() const currentRoute = ref('') const activeId = ref('/home') - +const popoverRef = ref('') const headerMenus = [ { @@ -93,6 +93,7 @@ const clickMenu = ({ id, disabled, path }) => { } const onUserTo = (path) =>{ + popoverRef.value.hide() router.push(path) }