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}`,
});
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();