沉睡个人博客
沉睡个人博客
博客
工具箱
留言板
沉睡个人博客
博客
工具箱
首页
前端
【ionic】ionic4 ngFor中使用ngIf
【ionic】ionic4 ngFor中使用ngIf
656人已阅读
时间:2022-03-19 00:00:00
##ionic4 ngFor中使用ngIf ;ngfor与ngif同时使用报错 ##如果想要在ngFor上使用*ngIf的话则需要套一层ng-container <ng-container *ngFor="let item of items"> <div *ngIf="item.status">...</div> </ng-container>
上一篇:【ionic】ionic 富文本编辑样式后,前台不能回显样式
下一篇:【ionic】ionic锚点操作