change config

This commit is contained in:
Pan
2017-04-23 22:43:05 +08:00
parent a7b09a2a01
commit e0695d422a
8 changed files with 37 additions and 39 deletions

View File

@@ -67,7 +67,7 @@ const Form2 = resolve => require(['../views/example/form2'], resolve);
Vue.use(Router);
export default new Router({
mode: 'history',
// mode: 'history', //后端支持可开
scrollBehavior: () => ({ y: 0 }),
routes: [
{ path: '/login', component: Login, hidden: true },