Skip to content
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

调用 destroy() 引起 TypeError: Cannot read property 'stop' of null #9

Closed
cipchk opened this issue May 20, 2017 · 2 comments
Closed

Comments

@cipchk
Copy link

cipchk commented May 20, 2017

我是在angular2中使用g2-mobile,但是调用 destroy() 时会引发。

TypeError: Cannot read property 'stop' of null

代码位置:

            clear: function() {
                var t = this.animate; // thrown t = null 
                t.stop && t.stop()
            }

一个重现的示例当离开页面时会收到一个 console.warn

@dxq613
Copy link
Member

dxq613 commented Jun 7, 2017

已经修复,明天发布

@cipchk
Copy link
Author

cipchk commented Jun 16, 2017

确认修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants