什么是<!-bindings = {“ ng-reflect-ng-for-of”:“ [对象对象],[对象对象”}->

时间:2019-10-21 10:40:31

标签: angular

任何人都可以告诉我什么是

<!--bindings={
  "ng-reflect-ng-for-of": "[object Object],[object Object"
}--> ?

see image 1

以及如何从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();
  }
}

0 个答案:

没有答案