-
Notifications
You must be signed in to change notification settings - Fork 2.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
设置 loadingDelay
后, loading 初始值应当为 false
#2382
Comments
实际业务中没法判断你的执行用时是多少。 |
@Atw-Lee 初始值为true怎么防止闪烁?
而且为什么需要判断callback的执行用时? 要检查的不是 |
emmm....我也很迷惑 怎么初始值是 true |
18 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在我理解的里, 只要传入的callback执行用时小于
loadingDelay
, loading就不应该发生变化, 那么初始值更不应该为 trueSee https://codesandbox.io/p/sandbox/shy-feather-5q3ffx?file=%2Fsrc%2Findex.js
The text was updated successfully, but these errors were encountered: