路由懒加载,还是压缩打包的js文件
This commit is contained in:
parent
4aeccb8825
commit
1a249cc92c
@ -46,11 +46,11 @@ const routes = [
|
|||||||
{path: '/rights', component: access},
|
{path: '/rights', component: access},
|
||||||
{path: '/roles', component: roles},
|
{path: '/roles', component: roles},
|
||||||
{path: '/categories', component: categories},
|
{path: '/categories', component: categories},
|
||||||
{ path: '/params', component: params },
|
{path: '/params', component: params},
|
||||||
{ path: '/goods', component: goods },
|
{path: '/goods', component: goods},
|
||||||
{ path: '/goods/add', component: goodsEdit },
|
{path: '/goods/add', component: goodsEdit},
|
||||||
{ path: '/orders', component: order },
|
{path: '/orders', component: order},
|
||||||
{ path: '/reports', component: report }
|
{path: '/reports', component: report}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user