路由模式
src/router/index.js @@ -194,7 +194,7 @@ } export default new Router({ mode: 'hash', // 去掉url中的# mode: 'hash', scrollBehavior: () => ({ y: 0 }), routes: constantRoutes })