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

This commit is contained in:
xing 2020-07-02 11:13:13 +08:00
parent 64aedb7466
commit 4aeccb8825

View File

@ -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 },