From 12ba273fcc3686e6ff014ee1ac4cbe932721a941 Mon Sep 17 00:00:00 2001 From: 林致杰 <1003392067@qq.com> Date: 星期二, 02 五月 2023 16:11:05 +0800 Subject: [PATCH] CIAQ报告预览支持 --- vue.config.js | 1 + src/router.js | 14 ++++---------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/router.js b/src/router.js index 768820f..93c1dc1 100644 --- a/src/router.js +++ b/src/router.js @@ -156,16 +156,10 @@ ] }, { - path: '/report', - component: Layout, - children: [ - { - path: 'h5', - component: () => import('@/views/report/reportH5'), - name: 'reportH5', - meta: { title: 'H5鎶ュ憡' } - } - ] + path: '/report/h5', + component: () => import('@/views/report/reportH5'), + name: 'reportH5', + meta: { title: 'H5鎶ュ憡' } } ] }) diff --git a/vue.config.js b/vue.config.js index 84c0d8f..c3aebea 100644 --- a/vue.config.js +++ b/vue.config.js @@ -19,6 +19,7 @@ hotOnly: false, proxy: { '/': { + ws: false, target: 'http://127.0.0.1:8090', changeOrigin: true } -- Gitblit v1.9.1