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

render()方法中使用promise后可能导至同时渲染两个模板 #37

Open
zouzhenxing opened this issue Dec 6, 2016 · 0 comments

Comments

@zouzhenxing
Copy link

当网速比较卡时,如果使用promise,则有可能导至两个模板同时渲染到容器中。解决办法如下:
image
将leave(hasChildren);方法移到promise方法完成后再调用。

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

1 participant