香港专业教育学院看着这个问题的其他答案,但还没有找到解决方案
我在标题中遇到错误,虽然它不影响应用程序,但我还是不希望出现该错误。
<div *ngIf="currentUserData.healthCarePlans.length > 0">
<p-carousel numVisible="3"
[value]="currentUserData.healthCarePlans">
<ng-template let-insurance pTemplate="insurance">
<div>
<img class="company-header-avatar hc-img"
[src]="insurance.imagePath">
<div class="ui-g-12 hc-info">
<div class="ui-g-6">
{{insurance.healthCareCompany.person.companyName}}
</div>
<div class="ui-g-6">
{{insurance.code}}
</div>
</div>
</div>
</ng-template>
</p-carousel>
</div>
我已经尝试了通常可以正常工作的安全操作员,但在这种情况下似乎没有
在外部div中使用ngif =“ currentuserdata”解决了它
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句