Skip to content

Commit 5006ea6

Browse files
authored
fix(module:tree-select): fix error when judging multiple instances condition (#9008)
1 parent 1f8f4da commit 5006ea6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/tree-select/tree-select.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,9 @@ export class NzTreeSelectComponent extends NzTreeBase implements ControlValueAcc
566566
}
567567

568568
closeDropDown(): void {
569-
if (!this.isDestroy) {
569+
Promise.resolve().then(() => {
570570
this.onTouched();
571-
}
571+
});
572572
this.nzOpen = false;
573573
this.inputValue = '';
574574
this.isNotFound = false;

0 commit comments

Comments
 (0)