Browse Source

修复菜单点击没反应

master
xwb 5 years ago
parent
commit
ae1f770879
  1. 6
      src/router/routers.js

6
src/router/routers.js

@ -27,7 +27,7 @@ export const constantRouterMap = [
children: [ children: [
{ {
path: '/redirect/:path*', path: '/redirect/:path*',
component: () => import('@/views/features/redirect') component: (resolve) => require(['@/views/features/redirect'], resolve)
} }
] ]
}, },
@ -38,7 +38,7 @@ export const constantRouterMap = [
children: [ children: [
{ {
path: 'dashboard', path: 'dashboard',
component: () => import('@/views/home'), component: (resolve) => require(['@/views/home'], resolve),
name: 'Dashboard', name: 'Dashboard',
meta: { title: '首页', icon: 'index', affix: true, noCache: true } meta: { title: '首页', icon: 'index', affix: true, noCache: true }
} }
@ -52,7 +52,7 @@ export const constantRouterMap = [
children: [ children: [
{ {
path: 'center', path: 'center',
component: () => import('@/views/system/user/center'), component: (resolve) => require(['@/views/system/user/center'], resolve),
name: '个人中心', name: '个人中心',
meta: { title: '个人中心' } meta: { title: '个人中心' }
} }

Loading…
Cancel
Save