From 44b3fe56b5b7121a7ec702c6d1bcd895eab8bd96 Mon Sep 17 00:00:00 2001 From: linzhijie <1003392067@qq.com> Date: 星期一, 08 五月 2023 17:16:42 +0800 Subject: [PATCH] bugfix --- src/router.js | 20 +++++++------------- 1 files changed, 7 insertions(+), 13 deletions(-) diff --git a/src/router.js b/src/router.js index 7ae7335..93c1dc1 100644 --- a/src/router.js +++ b/src/router.js @@ -144,28 +144,22 @@ ] }, { - path: '/pdf', + path: '/report', component: Layout, children: [ { path: 'view', - component: () => import('@/views/pdf/reportView'), + component: () => import('@/views/report/reportView'), name: 'reportView', - meta: { title: '鎶ュ憡棰勮' } + meta: { title: 'PDF鎶ュ憡' } } ] }, { - path: '/pdf', - component: Layout, - children: [ - { - path: 'h5', - component: () => import('@/views/pdf/reportH5'), - name: 'reportView', - meta: { title: '鎶ュ憡棰勮' } - } - ] + path: '/report/h5', + component: () => import('@/views/report/reportH5'), + name: 'reportH5', + meta: { title: 'H5鎶ュ憡' } } ] }) -- Gitblit v1.9.1