From 8231542d77a49f80a49434be6ca8bfb3ae9e1efe Mon Sep 17 00:00:00 2001 From: XiaoRuby <3114200645@qq.com> Date: 星期一, 28 八月 2023 09:26:21 +0800 Subject: [PATCH] 8-28 --- src/router/index.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 31ff874..6e2fc1e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -47,6 +47,11 @@ hidden:true }, { + path: '/testReport', + component: () => import('@/views/template_testReport/index'), + hidden:true + }, + { path: '/', component: Layout, redirect: '/home', @@ -477,7 +482,7 @@ ] const createRouter = () => new Router({ - // mode: 'history', // require service support + mode: 'history', scrollBehavior: () => ({ y: 0 }), routes: constantRoutes }) -- Gitblit v1.9.3