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

结合vue时使用,resetload无限问题。 #117

Open
FAAAAT opened this issue Apr 22, 2018 · 1 comment
Open

结合vue时使用,resetload无限问题。 #117

FAAAAT opened this issue Apr 22, 2018 · 1 comment

Comments

@FAAAAT
Copy link

FAAAAT commented Apr 22, 2018

如果使用autoload 在第一次加载数据时,在dom刷新前会调用resetload。而此时dom上实际是没有元素的。导致一个无限循环。会立刻加载所有数据。

使用nexttick可以决绝这个问题

我觉得有必要在readme中做提醒。

@ximan
Copy link
Owner

ximan commented Apr 26, 2018

你好,我最近也在学习vue,可否告知一下,你是如何调用的,我也学习一下这个插件在vue里的使用。非常感谢。

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