From 879a3501a8ab9767a59458ad8c337f6c25e2e7c4 Mon Sep 17 00:00:00 2001 From: lixuliang <lixuliang_hd@126.com> Date: 星期五, 22 十一月 2024 10:57:27 +0800 Subject: [PATCH] 代码更新 --- src/router/index.js | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 50f3a00..6a5e8c2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2,6 +2,7 @@ import Router from 'vue-router' import index from '@/components/index' import login from '@/components/login' +import URLconfig from "../../static/URLconfig"; Vue.use(Router) const routes = [ @@ -22,12 +23,12 @@ ]; const router = new Router({ mode: "history", - // base: '/TEST', + // base: URLconfig.routerBase, routes, }); -router.beforeEach((to, from, next) => { - next(); -}) +// router.beforeEach((to, from, next) => { +// next(); +// }) export default router; -- Gitblit v1.9.3