fix: fix missing cache of refresh page

This commit is contained in:
nebv
2020-10-13 22:22:04 +08:00
parent bbfb06f0ad
commit 02d6a39402
12 changed files with 54 additions and 40 deletions

View File

@@ -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,

View File

@@ -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: '图表库',

View File

@@ -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',