mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-31 14:38:02 +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({
|
||||
// mode: 'history', // require service support
|
||||
scrollBehavior: () => ({ y: 0 }),
|
||||
// mode: 'history',
|
||||
mode: 'history',
|
||||
base: '/ui/',
|
||||
routes: constantRoutes
|
||||
})
|
||||
|
Reference in New Issue
Block a user