修改路由前缀名key值
This commit is contained in:
@@ -110,6 +110,7 @@ export const constantRoutes = [
|
||||
|
||||
export default new Router({
|
||||
mode: 'history', // 去掉url中的#
|
||||
scrollBehavior: () => ({ y: 0 }),
|
||||
// base: '',
|
||||
// scrollBehavior: () => ({ y: 0 }),
|
||||
routes: constantRoutes
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user