Browse Source

提交路由模式修改

master
douzhuo 1 year ago
parent
commit
1377d68186
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/router/index.js

+ 1
- 1
src/router/index.js View File

@@ -15,7 +15,7 @@ try {
Vue.use(Router)

export default new Router({
mode: 'history',
mode: 'hash',
base: process.env.BASE_URL,
scrollBehavior: () => ({ y: 0 }),
routes: constantRouterMap

Loading…
Cancel
Save