We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在我理解的里, 只要传入的callback执行用时小于 loadingDelay, loading就不应该发生变化, 那么初始值更不应该为 true
See https://codesandbox.io/p/sandbox/shy-feather-5q3ffx?file=%2Fsrc%2Findex.js
The text was updated successfully, but these errors were encountered:
实际业务中没法判断你的执行用时是多少。 初始值如果想是false,可以把manual打开。
Sorry, something went wrong.
@Atw-Lee 初始值为true怎么防止闪烁?
通过设置 options.loadingDelay ,可以延迟 loading 变成 true 的时间,有效防止闪烁。
options.loadingDelay
loading
而且为什么需要判断callback的执行用时? 要检查的不是 options.loadingDelay 是否大于0么?
emmm....我也很迷惑 怎么初始值是 true
fix: alibaba#2382 check loadingDelay
007f6cb
Successfully merging a pull request may close this issue.
在我理解的里, 只要传入的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: