【发布时间】:2019-09-05 07:29:11
【问题描述】:
我需要在
上使用 ngIf 和 ngFor<option *ngFor="let price of product['pricingDetails']" *ngIf="price['chainPrice']" >
但它显示Can't have multiple template bindings on one element. Use only one attribute prefixed with * 错误。在元素中同时使用两者的最佳方式是什么?
【问题讨论】:
-
宇智波佐助谢谢。