关于SAP Spartacus ManageUnitsListComponent的一些试错
生活随笔
收集整理的這篇文章主要介紹了
关于SAP Spartacus ManageUnitsListComponent的一些试错
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
從CMS API返回的響應能看出,CMS Component的名稱:ManageUnitsListComponent:
在units.config.ts文件里維護了該CMSComponent到Angular Component的映射:UnitListComponent:
如果把上圖124行改成ManageUnitsListComponent2:
最后的結果,點擊units之后不會有任何內容渲染出來:
如果把ManageUnitsListComponent映射成另一個Angular Component:
最后會報SplitViewService的錯誤:
如果把UnitDetailsComponent的路由配置注釋掉之后:
點擊UnitListComponent的某一行,將無法打開UnitDetailsComponent頁面:
刪除router-outlet節(jié)點之后,同樣,unitDetail也無法注入了:
更多Jerry的原創(chuàng)文章,盡在:“汪子熙”:
總結
以上是生活随笔為你收集整理的关于SAP Spartacus ManageUnitsListComponent的一些试错的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 碧蓝航线怎么速刷皇家先锋经验
- 下一篇: SAP Spartacus 3.0 的一