This commit is contained in:
duanxiaohai 2024-08-02 17:19:40 +08:00
parent 66f5808015
commit c53fd5b5ba
1 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@ const to = (url) => {
path: `${url}`, path: `${url}`,
}); });
data.nowTab = url; data.nowTab = url;
data.menushow = false;
}; };
const onMenu = (val) => { const onMenu = (val) => {
console.log(val); console.log(val);
@ -99,6 +100,7 @@ const onMenu = (val) => {
router.push({ router.push({
path: `${val.url}`, path: `${val.url}`,
}); });
data.nowTab = val.url;
data.menushow = false; data.menushow = false;
}; };
const router = useRouter(); const router = useRouter();