mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-03 16:06:13 +00:00
feat: 修改使用vue router history 模式
This commit is contained in:
@@ -177,7 +177,7 @@ export { default as userRoutes } from './userPage'
|
|||||||
const createRouter = () => new Router({
|
const createRouter = () => new Router({
|
||||||
// mode: 'history', // require service support
|
// mode: 'history', // require service support
|
||||||
scrollBehavior: () => ({ y: 0 }),
|
scrollBehavior: () => ({ y: 0 }),
|
||||||
// mode: 'history',
|
mode: 'history',
|
||||||
base: '/ui/',
|
base: '/ui/',
|
||||||
routes: constantRoutes
|
routes: constantRoutes
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user