
RoutingModule { path: '/products', component: ProductList, children: [ path: '', component: ProductList, ], }, component: Products {}, 這樣配置在頁面中就可以通過路由的方式來新增產品或者編輯產品了。如果需要具體的路由配置可以根據(jù)實際情況進行調整。`
陶瓷新聞網
成-都-b-t---268
手機查看
RoutingModule { path: '/products', component: ProductList, children: [ path: '', component: ProductList, ], }, component: Products {}, 這樣配置在頁面中就可以通過路由的方式來新增產品或者編輯產品了。如果需要具體的路由配置可以根據(jù)實際情況進行調整。`