diff --git a/src/router/router.js b/src/router/router.js index 7121b2f..f2c2333 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -41,11 +41,11 @@ const routes = [ component: Home, redirect: '/welcome', children: [ - { path: '/welcome', component: welcome }, - { path: '/users', component: users }, - { path: '/rights', component: access }, - { path: '/roles', component: roles }, - { path: '/categories', component: categories }, + {path: '/welcome', component: welcome}, + {path: '/users', component: users}, + {path: '/rights', component: access}, + {path: '/roles', component: roles}, + {path: '/categories', component: categories}, { path: '/params', component: params }, { path: '/goods', component: goods }, { path: '/goods/add', component: goodsEdit },