src/router.js
@@ -154,6 +154,18 @@ meta: { title: '报告预览' } } ] }, { path: '/pdf', component: Layout, children: [ { path: 'h5', component: () => import('@/views/pdf/reportH5'), name: 'reportView', meta: { title: '报告预览' } } ] } ] })