From c53fd5b5ba693e7cf88e6a6073cee7133c7e08ac Mon Sep 17 00:00:00 2001 From: duanxiaohai <1812246227@qq.com> Date: Fri, 2 Aug 2024 17:19:40 +0800 Subject: [PATCH] gx --- src/components/header.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/header.vue b/src/components/header.vue index c3f45511..f7f539c 100644 --- a/src/components/header.vue +++ b/src/components/header.vue @@ -87,6 +87,7 @@ const to = (url) => { path: `${url}`, }); data.nowTab = url; + data.menushow = false; }; const onMenu = (val) => { console.log(val); @@ -99,6 +100,7 @@ const onMenu = (val) => { router.push({ path: `${val.url}`, }); + data.nowTab = val.url; data.menushow = false; }; const router = useRouter();