From f24b64392e70bcfbfb6f60e72dc9d9b552d99220 Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 26 Apr 2019 17:56:33 +0800 Subject: [PATCH 1/2] chore: set ci node version --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 16574d97..f4be7a08 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: node_js -node_js: stable +node_js: 10 script: npm run test notifications: email: false From d4be15d9d9173667c3289c7d0bf991e5a8bc9cd8 Mon Sep 17 00:00:00 2001 From: Pan Date: Sun, 28 Apr 2019 14:51:11 +0800 Subject: [PATCH 2/2] 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 } } ] },