SAP Spartacus B2B功能,只渲染BodyContent position里的UI
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                SAP Spartacus B2B功能,只渲染BodyContent position里的UI
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                將page slot html的源代碼做如下修改:
<ng-template[cxOutlet]="position"[cxOutletContext]="{ components$: components$ }" ><ng-template*ngFor="let component of components"[cxOutlet]="component.flexType"[cxOutletContext]="{ component: component }"[cxOutletDefer]="getComponentDeferOptions(component.flexType)"(loaded)="isLoaded($event)"><ng-container *ngIf='position === "BodyContent"'[cxComponentWrapper]="component"><div>{{ component | json }}</div></ng-container></ng-template> </ng-template> { "uid": "BudgetsHomeLink", "typeCode": "BannerComponent", "flexType": "BannerComponent" }{ "uid": "CostCentersHomeLink", "typeCode": "BannerComponent", "flexType": "BannerComponent" }{ "uid": "UnitsHomeLink", "typeCode": "BannerComponent", "flexType": "BannerComponent" }{ "uid": "UsersHomeLink", "typeCode": "BannerComponent", "flexType": "BannerComponent" }{ "uid": "UserGroupsHomeLink", "typeCode": "BannerComponent", "flexType": "BannerComponent" }{ "uid": "PurchaseLimitsHomeLink", "typeCode": "BannerComponent", "flexType": "BannerComponent" }、Banner里包含了Budget,unit,costcenter等等。
更多Jerry的原創文章,盡在:“汪子熙”:
 
總結
以上是生活随笔為你收集整理的SAP Spartacus B2B功能,只渲染BodyContent position里的UI的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 网络电影《奇门遁甲 2》开播,8 小时票
- 下一篇: 五一假期南宁动物园人山人海挤得无法动弹:
