diff --git a/magic-boot-ui/src/layout/components/TagsView/index.vue b/magic-boot-ui/src/layout/components/TagsView/index.vue index d2a56e7..1d93667 100644 --- a/magic-boot-ui/src/layout/components/TagsView/index.vue +++ b/magic-boot-ui/src/layout/components/TagsView/index.vue @@ -17,10 +17,10 @@
diff --git a/magic-boot-ui/src/router/index.js b/magic-boot-ui/src/router/index.js index 797b387..b40c04b 100644 --- a/magic-boot-ui/src/router/index.js +++ b/magic-boot-ui/src/router/index.js @@ -7,16 +7,26 @@ Vue.use(Router) import Layout from '@/layout' export const constantRoutes = [ - + { + path: '/redirect', + component: Layout, + hidden: true, + children: [ + { + path: '/redirect/:path(.*)', + component: () => import('@/views/redirect/index') + } + ] + }, { path: '/', component: Layout, redirect: '/dashboard', children: [{ path: 'dashboard', - name: 'Dashboard', + name: '首页', component: () => import('@/views/dashboard/index'), - meta: { title: '首页', icon: 'home', noCache: false } + meta: { title: '首页', icon: 'home', noCache: false, affix: true } }] }, diff --git a/magic-boot-ui/src/views/quartz/index.vue b/magic-boot-ui/src/views/quartz/index.vue deleted file mode 100644 index a6cbff7..0000000 --- a/magic-boot-ui/src/views/quartz/index.vue +++ /dev/null @@ -1,28 +0,0 @@ - -