SAP 电商云 Spartacus 5_0.md 迁移文档的编写格式
生活随笔
收集整理的這篇文章主要介紹了
SAP 电商云 Spartacus 5_0.md 迁移文档的编写格式
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
- ng-container which wrapped div.row.cx-checkout-btns has been removed.
上述選擇器,首先確認描述的是一個 div 元素。這個元素同時具有 row 和 cx-checkout-btns 兩個 class. 注意這里 . 代表 class,class 之間沒有空格,意思是該元素同時具有這兩個 class,如果有空格,就代表父子關系了。
查看選擇器官方文檔
上圖左邊是修改之前,div 上層有一個 ng-container:
修改之后,
- div.row.cx-checkout-btns has been moved to div.row > div.col-md-12.col-lg-9 > ng-container
現在的 checkout div 元素,放到了 ng-container 里。
這個 ng-container 位于 div.row > div.col-md-12.col-lg-9 的 div 元素內。
- div.row > div.col-md-12.col-lg-9 > ng-container will appear only if supportedDeliveryModes$ is loaded with length and continueButtonPressed flag is falsy.
用文字描述了上圖代碼第71行的 if 邏輯。
- div.form-check element was wrapped by a fieldset, whose disabled property was bound to deliveryModeSetInProcess$.
- the disabled property binding of continue button was changed to: deliveryModeInvalid || (deliveryModeSetInProcess$ | async).
描述的是下面這段代碼:
突出 property binding.
更多Jerry的原創文章,盡在:“汪子熙”:
總結
以上是生活随笔為你收集整理的SAP 电商云 Spartacus 5_0.md 迁移文档的编写格式的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 《塞尔达传说:王国之泪》偷跑后:任天堂大
- 下一篇: ChatGPT 背后的外包工人:在美时薪