Commit 126deca1 authored by jingnan's avatar jingnan 👀

合并产品产品6762节点代码【f67d7680】

parent 657c9e4c
......@@ -35,6 +35,9 @@ router.beforeEach(async(to, from, next) => {
//
}
}
if (to.query.showMenu === 'false' || to.query.showMenu === false) {
store.dispatch('app/closeSideBar', { withoutAnimation: false })
}
if (!hasToken) {
if (whiteList.indexOf(to.path) !== -1) {
// in the free login whitelist, go directly
......
......@@ -255,7 +255,6 @@ export default {
path: '/dee-task-center/workflow/task-center/home'
}
})
this.$store.dispatch('app/toggleSideBar')
}
if (module.route === 'dee-message/message/home') {
this.$store.dispatch('menu/activeModel', {
......@@ -264,7 +263,6 @@ export default {
path: '/dee-message/message/home'
}
})
this.$store.dispatch('app/toggleSideBar')
}
},
goContent(app) {
......
......@@ -97,7 +97,7 @@ export default {
path: '/dee-task-center/workflow/task-center/home'
}
})
this.$store.dispatch('app/toggleSideBar')
// this.$store.dispatch('app/toggleSideBar')
}
}
}
......
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