const ChartIndex = () => import('views/chart/ChartIndex') const ChartMap = () => import('views/chart/ChartMap') const HeatMap = () => import('views/chart/HeatMap') const LineChart = () => import('views/chart/LineChart') const Timeline = () => import('views/chart/Timeline') export default { path: '/chart', name: 'ChartIndex', component: ChartIndex, meta: { needAuth: false }, children: [ { path: '', name: '地图', component: ChartMap, meta: { needAuth: false } }, { path: '/chart/map', name: '地图', component: ChartMap, meta: { needAuth: false } }, { path: '/chart/heatmap', name: '热力图', component: HeatMap, meta: { needAuth: false } }, { path: '/chart/line', name: '折线图', component: LineChart, meta: { needAuth: false } }, { path: '/chart/timeline', name: 'Timeline', component: Timeline, meta: { needAuth: false } } ] }