src/router.js
@@ -144,14 +144,26 @@ ] }, { path: '/pdf', path: '/report', component: Layout, children: [ { path: 'view', component: () => import('@/views/pdf/h5'), name: 'h5', meta: { title: 'pdf预览' } component: () => import('@/views/report/reportView'), name: 'reportView', meta: { title: 'PDF报告' } } ] }, { path: '/report', component: Layout, children: [ { path: 'h5', component: () => import('@/views/report/reportH5'), name: 'reportH5', meta: { title: 'H5报告' } } ] }