-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
destory方法报错 #28
Comments
有在代码中修改 chart 么?debug 看一下这里的 this.chart 是什么 看报错信息应该是 this.chart 在执行 destroy 之前变成了 null |
@jaredleechn |
simaQ
added a commit
that referenced
this issue
Nov 22, 2017
simaQ
added a commit
that referenced
this issue
Nov 22, 2017
simaQ
added a commit
that referenced
this issue
Nov 22, 2017
simaQ
added a commit
that referenced
this issue
Nov 22, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在react中使用
用react-router跳转时 会自动调用destory方法 然后报上面的错。
我暂时只有把销毁这行注释掉。
componentWillUnmount() {
// this.chart.destroy();
this.chart = null;
this.chartId = null;
}
The text was updated successfully, but these errors were encountered: