修改路由前缀名key值

This commit is contained in:
不做码农
2021-10-08 21:22:35 +08:00
parent eb2f7834cf
commit 43a00c78be
3 changed files with 5 additions and 6 deletions

View File

@@ -110,6 +110,7 @@ export const constantRoutes = [
export default new Router({
mode: 'history', // 去掉url中的#
scrollBehavior: () => ({ y: 0 }),
// base: '',
// scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
})