This commit is contained in:
parent
66f5808015
commit
c53fd5b5ba
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue