Commit 4b010f977e15753ed06a8ccd6aab1585cfbd5dd2

Authored by liuqimichale
1 parent a5f51b80

完成页面

Showing 1 changed file with 1 additions and 5 deletions
src/router/index.js
@@ -9,11 +9,7 @@ export default new Router({ @@ -9,11 +9,7 @@ export default new Router({
9 routes: [ 9 routes: [
10 { 10 {
11 path: '/', 11 path: '/',
12 - name: 'home',  
13 - component: home,  
14 - meta: {  
15 - title: '首页'  
16 - } 12 + redirect:'/home'
17 }, 13 },
18 { 14 {
19 path: '/home', 15 path: '/home',