From d4be15d9d9173667c3289c7d0bf991e5a8bc9cd8 Mon Sep 17 00:00:00 2001 From: Pan Date: Sun, 28 Apr 2019 14:51:11 +0800 Subject: [PATCH] perf: dashboard add cache --- mock/role/routes.js | 2 +- src/router/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mock/role/routes.js b/mock/role/routes.js index 2d3613e7..c4654566 100644 --- a/mock/role/routes.js +++ b/mock/role/routes.js @@ -41,7 +41,7 @@ export const constantRoutes = [ path: 'dashboard', component: 'views/dashboard/index', name: 'Dashboard', - meta: { title: 'dashboard', icon: 'dashboard', noCache: true, affix: true } + meta: { title: 'dashboard', icon: 'dashboard', affix: true } } ] }, diff --git a/src/router/index.js b/src/router/index.js index d1dfda90..6a60eedc 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -79,7 +79,7 @@ export const constantRoutes = [ path: 'dashboard', component: () => import('@/views/dashboard/index'), name: 'Dashboard', - meta: { title: 'dashboard', icon: 'dashboard', noCache: true, affix: true } + meta: { title: 'dashboard', icon: 'dashboard', affix: true } } ] },