Commit 4b449d3f authored by 范骋宇's avatar 范骋宇 🇺🇸

导航页设置路由

parent 32f29cc1
......@@ -144,13 +144,13 @@ export const constantRoutes = [
// component: () => import('@/views/general/page/index.vue'),
// hidden: true
// },
// {
// path: '/',
// name: 'navigation',
// meta: { disnav: true },
// component: () => import('@/views/navigation/index'),
// hidden: true
// },
{
path: '/systemPage',
name: 'navigation',
meta: { disnav: true },
component: () => import('@/views/navigation/index'),
hidden: true
},
{
path: '/',
meta: { disnav: true },
......
......@@ -206,6 +206,7 @@ export default {
// this.$router.push({ path: this.redirect || '/' })
// this.$router.push({ path: '/' })
await this.$store.dispatch('menu/getMenus')
await this.$store.dispatch('menu/setWorkSpacesList')
this.getMenusPerm()
}
})
......
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