mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:31:41 +08:00
fix: fix missing cache of refresh page
This commit is contained in:
@@ -4,9 +4,11 @@ import { DEFAULT_LAYOUT_COMPONENT, PAGE_NOT_FOUND_ROUTE, REDIRECT_ROUTE } from '
|
||||
import { genRouteModule } from '/@/utils/helper/routeHelper';
|
||||
|
||||
import LoginRoute from './modules/sys';
|
||||
|
||||
import dashboard from './modules/dashboard';
|
||||
|
||||
// demo
|
||||
import exceptionDemo from './modules/demo/exception';
|
||||
import dashboardDemo from './modules/demo/dashboard';
|
||||
import iframeDemo from './modules/demo/iframe';
|
||||
import compDemo from './modules/demo/comp';
|
||||
import permissionDemo from './modules/demo/permission';
|
||||
@@ -18,7 +20,7 @@ import treeDemo from './modules/demo/tree';
|
||||
|
||||
const routeModuleList: AppRouteModule[] = [
|
||||
exceptionDemo,
|
||||
dashboardDemo,
|
||||
dashboard,
|
||||
iframeDemo,
|
||||
compDemo,
|
||||
featDemo,
|
||||
|
@@ -7,7 +7,7 @@ export default {
|
||||
path: '/charts',
|
||||
name: 'Charts',
|
||||
component: PAGE_LAYOUT_COMPONENT,
|
||||
redirect: '/charts/welcome',
|
||||
redirect: '/charts/apexChart',
|
||||
meta: {
|
||||
icon: 'ant-design:area-chart-outlined',
|
||||
title: '图表库',
|
||||
|
@@ -7,7 +7,7 @@ export default {
|
||||
path: '/feat',
|
||||
name: 'FeatDemo',
|
||||
component: PAGE_LAYOUT_COMPONENT,
|
||||
redirect: '/feat/tabs',
|
||||
redirect: '/feat/icon',
|
||||
meta: {
|
||||
icon: 'ic:outline-featured-play-list',
|
||||
title: 'Feat',
|
||||
@@ -15,14 +15,6 @@ export default {
|
||||
},
|
||||
|
||||
routes: [
|
||||
{
|
||||
path: '/tabs',
|
||||
name: 'TabsDemo',
|
||||
component: () => import('/@/views/demo/feat/tabs/index.vue'),
|
||||
meta: {
|
||||
title: '标签页操作',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/icon',
|
||||
name: 'IconDemo',
|
||||
@@ -31,6 +23,15 @@ export default {
|
||||
title: '图标',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/tabs',
|
||||
name: 'TabsDemo',
|
||||
component: () => import('/@/views/demo/feat/tabs/index.vue'),
|
||||
meta: {
|
||||
title: '标签页操作',
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
path: '/context-menu',
|
||||
name: 'ContextMenuDemo',
|
||||
|
Reference in New Issue
Block a user