mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-07 18:25:45 +08:00
Merge 287bd1793733f2de99ff77863293fb090c838761 into 6858a9ad67483025f6a9432a926beb9327037be3
This commit is contained in:
commit
b96813133b
@ -389,6 +389,7 @@ export const asyncRoutes = [
|
||||
|
||||
const createRouter = () => new Router({
|
||||
// mode: 'history', // require service support
|
||||
// base: process.env.VUE_APP_SRC, // use in hitory mode when publicPath is set
|
||||
scrollBehavior: () => ({ y: 0 }),
|
||||
routes: constantRoutes
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user