??
This commit is contained in:
parent
1a249cc92c
commit
0fb36be02d
|
@ -34,23 +34,23 @@ const report = () => import(/* webpackChunkName: "login-home-order" */ '../compo
|
|||
Vue.use(VueRouter)
|
||||
|
||||
const routes = [
|
||||
{path: '/', redirect: '/login'},
|
||||
{path: '/login', component: Login},
|
||||
{ path: '/', redirect: '/login' },
|
||||
{ path: '/login', component: Login },
|
||||
{
|
||||
path: '/home',
|
||||
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: '/params', component: params},
|
||||
{path: '/goods', component: goods},
|
||||
{path: '/goods/add', component: goodsEdit},
|
||||
{path: '/orders', component: order},
|
||||
{path: '/reports', component: report}
|
||||
{ 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 },
|
||||
{ path: '/orders', component: order },
|
||||
{ path: '/reports', component: report }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user