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

导航页设置路由

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