派生自 wuyushui/SewerAndRainNetwork

YANGDL
2021-01-25 4ece8617fff2d9e250fb9178b3efc14db6c8fc81
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
 * meta可配置的参数:
 * meta: {
 *  title: { String } 显示在侧边栏、面包屑和标签栏的文字
 *  hideBread: (false) 设为true后此级路由将不会出现在面包屑中
 *  hideMenu: (false) 设为true后在左侧菜单不会显示该页面选项
 *  notCache: (false) 设为true后页面在切换标签后不会缓存,如果需要缓存,无需设置这个字段,而且需要设置页面组件name属性和路由配置的name一致
 *  access: (null) 可访问该页面的权限数组,当前路由设置的权限会影响子路由
 * }
 */
const MapTemplate = (r) => require.ensure([], () => r(require('../views/MapTemplate')), 'frame')
const routes = [
  { path: '/mapTemplate', name: 'MapTemplate', meta: { statusBgc: 0 }, component: MapTemplate }
]
 
// 所有上面定义的路由都要写在下面的routes里
export const mapRoutes = routes