angular - 什么是
问题描述
谁能告诉我什么是
<!--bindings={
"ng-reflect-ng-for-of": "[object Object],[object Object"
}--> ?
以及如何从 html 组件中的 *ngFor 循环中删除它?
*ngFor:
<tr class="result-table-data-tr" *ngFor="let active of actives" >
</tr>
和 ts 是:
export class ActivesComponent implements OnInit, AfterViewInit {
private actives: any = [];
constructor() { }
ngOnInit() {
this.actives = actives.data; // this is json
}
ngAfterViewInit(): void {
actsTableDrop();
}
}
解决方案
推荐阅读
- php - 在 TIPClientHttp 类的 Open 方法之后读取的响应中,最初的 3 个字节是什么意思?
- apache-kafka - max.request.size 和 message.max.bytes 的默认值似乎错误
- sql - 问题格式化到人类时间
- html - Flex-wrap 仅将一件物品包装在容器中
- google-apps-script - 用于复制文本的 Google Apps 脚本
- apache-kafka - 通过 Kafka 模板发送消息的异常处理
- ios - 我怎么知道标签何时被切换?
- git - How to log out of my old git account in the comand line for mac
- c - 如何修复“忽略返回值”错误?
- c++ - 如何在编译时获取指向非静态数据成员的指针的对象类型?