Skip to content

Commit d4be15d

Browse files
committed
perf: dashboard add cache
1 parent f24b643 commit d4be15d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mock/role/routes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const constantRoutes = [
4141
path: 'dashboard',
4242
component: 'views/dashboard/index',
4343
name: 'Dashboard',
44-
meta: { title: 'dashboard', icon: 'dashboard', noCache: true, affix: true }
44+
meta: { title: 'dashboard', icon: 'dashboard', affix: true }
4545
}
4646
]
4747
},

src/router/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export const constantRoutes = [
7979
path: 'dashboard',
8080
component: () => import('@/views/dashboard/index'),
8181
name: 'Dashboard',
82-
meta: { title: 'dashboard', icon: 'dashboard', noCache: true, affix: true }
82+
meta: { title: 'dashboard', icon: 'dashboard', affix: true }
8383
}
8484
]
8585
},

0 commit comments

Comments
 (0)