路由懒加载,还是压缩打包的js文件

This commit is contained in:
xing 2020-07-02 11:13:20 +08:00
parent 4aeccb8825
commit 1a249cc92c

View File

@ -46,11 +46,11 @@ const routes = [
{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: '/params', component: params},
{path: '/goods', component: goods},
{path: '/goods/add', component: goodsEdit},
{path: '/orders', component: order},
{path: '/reports', component: report}
]
}
]