Commit 5a995f2c authored by wangxiaoming's avatar wangxiaoming

前台搜索和代码格式化

parent 320c5512
...@@ -12,10 +12,8 @@ Vue.use(Router); ...@@ -12,10 +12,8 @@ Vue.use(Router);
export default new Router({ export default new Router({
mode: 'history', mode: 'history',
// base: process.env.BASE_URL, // base: process.env.BASE_URL,
scrollBehavior (to, from, savedPosition) { scrollBehavior(to, from, savedPosition) {
return { x: 0, y: 0 };
return { x: 0, y: 0 }
}, },
routes: [ routes: [
{ {
...@@ -46,7 +44,7 @@ export default new Router({ ...@@ -46,7 +44,7 @@ export default new Router({
path: '/resultDetail', path: '/resultDetail',
name: 'resultDetail', name: 'resultDetail',
component: ResultDetail, component: ResultDetail,
} },
], ],
}, },
// 注册页面 // 注册页面
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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