From ef91551449a38e9d765a0cbbafe6bfc406564d3c Mon Sep 17 00:00:00 2001 From: houzhongfei <501777010@qq.com> Date: 星期三, 14 十二月 2022 18:50:48 +0800 Subject: [PATCH] ·优化:代码规范 --- ruoyi-ui/src/router/index.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index f99408f..dd4d5f1 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -171,6 +171,7 @@ } export default new Router({ + base: process.env.VUE_APP_CONTEXT_PATH, mode: 'history', // 鍘绘帀url涓殑# scrollBehavior: () => ({ y: 0 }), routes: constantRoutes -- Gitblit v1.9.3