ng-devui icon indicating copy to clipboard operation
ng-devui copied to clipboard

Ng0100 error when use d-operable-tree

Open yyk123 opened this issue 3 years ago • 0 comments

Describe the bug DevUI d-operable-tree addNode cause NG0100 error in development mode

to suppress it, I need to:

  1. add private cd: ChangeDetectorRef to my component class
  2. call this.cd.detectChanges() every time when I updating TreeNode

perhaps you can add this function to treeFactory

this.operableTree.treeFactory.addNode(val)
this.cd.detectChanges()

environments (please complete the following information):

  • Browser latest-chrome
  • component version 12
  • angular framework version12

yyk123 avatar Dec 13 '21 04:12 yyk123