Skip to content

Commit

Permalink
fix(module: tree): update when property isLeaf is changed (#4289)
Browse files Browse the repository at this point in the history
close #4037
  • Loading branch information
simplejason authored and vthinkxie committed Oct 14, 2019
1 parent 9d2f5ce commit 4b90577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/core/tree/nz-tree-base-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class NzTreeNode {

set isLeaf(value: boolean) {
this._isLeaf = value;
// this.update();
this.update();
}

get isChecked(): boolean {
Expand Down

0 comments on commit 4b90577

Please sign in to comment.