Pre Merge pull request !1009 from 美一天/N/A

pull/1009/MERGE
美一天 2025-12-02 05:09:15 +00:00 committed by Gitee
commit 3d09bea7c7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -179,5 +179,6 @@ Router.prototype.replace = function push(location) {
export default new Router({
mode: 'history', // 去掉url中的#
scrollBehavior: () => ({ y: 0 }),
base: process.env.BASE_URL, // 自动匹配 publicPath
routes: constantRoutes
})