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