perf: dashboard add cache

This commit is contained in:
Pan 2019-04-28 14:51:11 +08:00
parent f24b64392e
commit d4be15d9d9
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ export const constantRoutes = [
path: 'dashboard', path: 'dashboard',
component: 'views/dashboard/index', component: 'views/dashboard/index',
name: 'Dashboard', name: 'Dashboard',
meta: { title: 'dashboard', icon: 'dashboard', noCache: true, affix: true } meta: { title: 'dashboard', icon: 'dashboard', affix: true }
} }
] ]
}, },

View File

@ -79,7 +79,7 @@ export const constantRoutes = [
path: 'dashboard', path: 'dashboard',
component: () => import('@/views/dashboard/index'), component: () => import('@/views/dashboard/index'),
name: 'Dashboard', name: 'Dashboard',
meta: { title: 'dashboard', icon: 'dashboard', noCache: true, affix: true } meta: { title: 'dashboard', icon: 'dashboard', affix: true }
} }
] ]
}, },