diff --git a/src/config/router.config.js b/src/config/router.config.js index 4273a9a4f..24db17189 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -2,7 +2,6 @@ import { BasicLayout, RouteView, BlankLayout, PageView } from '@/layouts' export const asyncRouterMap = [ - { path: '/', name: 'index', @@ -10,7 +9,6 @@ export const asyncRouterMap = [ meta: { title: '首页' }, redirect: '/dashboard', children: [ - // dashboard { path: '/dashboard', @@ -111,7 +109,7 @@ export const asyncRouterMap = [ { path: '/interface', name: 'Interface', - component: RouteView, + component: PageView, redirect: '/interface/themes', meta: { title: '外观', icon: 'skin' }, children: [ @@ -184,7 +182,9 @@ export const asyncRouterMap = [ ] }, { - path: '*', redirect: '/404', hidden: true + path: '*', + redirect: '/404', + hidden: true } ] diff --git a/src/views/interface/MenuList.vue b/src/views/interface/MenuList.vue index dbc924a04..36e85b563 100644 --- a/src/views/interface/MenuList.vue +++ b/src/views/interface/MenuList.vue @@ -1,77 +1,113 @@