mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
fix 修复 ruoyi 关于 配置应用前缀路径的bug 改为配置文件统一配置
This commit is contained in:
@ -167,7 +167,6 @@ export const constantRoutes = [
|
||||
]
|
||||
|
||||
export default new Router({
|
||||
base: "", // 项目前缀 与 publicPath 同步 例如 /api
|
||||
mode: 'history', // 去掉url中的#
|
||||
scrollBehavior: () => ({ y: 0 }),
|
||||
routes: constantRoutes
|
||||
|
Reference in New Issue
Block a user