src/router/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/router/index.js
@@ -194,7 +194,7 @@ } export default new Router({ mode: 'history', // 去掉url中的# mode: 'hash', // 去掉url中的# scrollBehavior: () => ({ y: 0 }), routes: constantRoutes })