|
|
@ -114,26 +114,46 @@ export const constantRoutes = [ |
|
|
|
keepAlive : true, |
|
|
|
title: '系统首页', |
|
|
|
icon: '系统首页', |
|
|
|
outerFirst:true |
|
|
|
// affix: true
|
|
|
|
} |
|
|
|
}] |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// path: '/',
|
|
|
|
// component: Layout,
|
|
|
|
// redirect: '/gridlayout',
|
|
|
|
// hidden: true,
|
|
|
|
// children: [{
|
|
|
|
// path: 'gridlayout',
|
|
|
|
// component: () => import('@/views/gridLayout/indexShow'),
|
|
|
|
// name: 'Gridlayout',
|
|
|
|
// meta: {
|
|
|
|
// keepAlive : true,
|
|
|
|
// title: '首页编辑器',
|
|
|
|
// icon: '系统首页',
|
|
|
|
// }
|
|
|
|
// }]
|
|
|
|
// },
|
|
|
|
// 接口看板
|
|
|
|
{ |
|
|
|
path: '/', |
|
|
|
component: Layout, |
|
|
|
redirect: '/gridlayout', |
|
|
|
hidden: true, |
|
|
|
// redirect: '/interfaceBoard',
|
|
|
|
// hidden: true,
|
|
|
|
children: [{ |
|
|
|
path: 'gridlayout', |
|
|
|
component: () => import('@/views/gridLayout/indexShow'), |
|
|
|
name: 'Gridlayout', |
|
|
|
path: localStorage.getItem('interfaceBoardUrl'), |
|
|
|
// component: () => import('@/views/gridLayout/index'),
|
|
|
|
// name: 'interfaceBoard',
|
|
|
|
meta: { |
|
|
|
keepAlive : true, |
|
|
|
title: '首页编辑器', |
|
|
|
icon: '系统首页', |
|
|
|
title: '接口监控看板', |
|
|
|
icon: '报表查看', |
|
|
|
outerFirst:true |
|
|
|
// affix: true
|
|
|
|
} |
|
|
|
}] |
|
|
|
}, |
|
|
|
|
|
|
|
// 开发中模拟路由
|
|
|
|
// {
|
|
|
|
// path: '/',
|
|
|
|