SAP Spartacus delivery mode页面设计

HTML两个input字段分别对应渲染出页面的两个radio button:

模板设计:

delivery mode模型的code字段:

这个formControlName="deliveryModeId"语句有什么用?

答案:可以通过语法this.modeJerry.controls[‘deliveryModeId’]直接设置radio button的值。

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

猜你喜欢

转载自blog.csdn.net/i042416/article/details/109094864
今日推荐