1
0
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:
D See Ker 2024-10-30 19:21:28 +08:00 committed by GitHub
commit b96813133b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
})