From 74a65479c749c196eb256aba0742e0f37fd7918d Mon Sep 17 00:00:00 2001 From: lyc Date: Tue, 29 Oct 2024 15:11:06 +0800 Subject: [PATCH] 2.5init --- src/renderer/src/layout/components/Aside.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) } -- 2.44.0.windows.1