Commit 75146b33 by chenxin

fix: delete console

parent f89484d2
......@@ -118,9 +118,7 @@ const router = new Router({
});
router.beforeEach((to, from, next) => {
console.log('to1', to.meta.useMenuLimit);
if (to.meta.useMenuLimit == true) {
console.log('to2', store.state.product.canUseMenuUrl.includes(to.path));
if (store.state.product.canUseMenuUrl.includes(to.path)) {
next();
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment