-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
下拉框组件虚构时会崩 #269
Comments
Perhaps you call |
Confirm can reproduce this. May need some time to do a minimal reproduceable case. |
+1 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
NzDropDownComponent.prototype.ngOnDestroy = function () {
this._subscription && this._subscription.unsubscribe();
};
当页面跳转,调用页面组件里下拉组件的虚构函数时,会崩在这里this._subscription.unsubscribe();。改成这样 this._subscription && this._subscription.unsubscribe();才正常。应该是虚构时this._subscription这个对像已不存在
The text was updated successfully, but these errors were encountered: