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