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方法,页面销毁时调用destroy可避免动画二次渲染时失效的问题 #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Marcowutt
Copy link

最近社区对这类问题讨论蛮多的,好像都是二次渲染的问题,加个销毁方法就行了

@seasonhuang
Copy link
Collaborator

@Marcowutt 多谢 PR,但有两点能否改进?

  1. 代码风格保持原样
  2. 实例下的 destroy 方法也会报错,也可以兼容下?

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

Successfully merging this pull request may close these issues.

2 participants