This commit is contained in:
D See Ker 2020-12-05 03:55:49 -08:00 committed by GitHub
commit 16a976e31c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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