Commit ddec2d45 authored by 夏彬's avatar 夏彬

测试环境改为histroy 尝试

parent 9209fbdc
...@@ -12,7 +12,7 @@ Vue.use(VueRouter); ...@@ -12,7 +12,7 @@ Vue.use(VueRouter);
var router = new VueRouter({ var router = new VueRouter({
routes: routes, routes: routes,
mode: "hash", mode: "history",
scrollBehavior: function(to, from, savedPosition) { scrollBehavior: function(to, from, savedPosition) {
return {x:0, y:0} return {x:0, y:0}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment