Skip to content

Commit

Permalink
fix(module:tree-select): fix error when judging multiple instances co…
Browse files Browse the repository at this point in the history
…ndition (#9008)
  • Loading branch information
EnochGao authored Feb 19, 2025
1 parent 1f8f4da commit 5006ea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tree-select/tree-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,9 @@ export class NzTreeSelectComponent extends NzTreeBase implements ControlValueAcc
}

closeDropDown(): void {
if (!this.isDestroy) {
Promise.resolve().then(() => {
this.onTouched();
}
});
this.nzOpen = false;
this.inputValue = '';
this.isNotFound = false;
Expand Down

0 comments on commit 5006ea6

Please sign in to comment.