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
hexo clean && hexo s
NProgress bar 始终加载中。
#994
个人博客
可能与网络有关。
The text was updated successfully, but these errors were encountered:
如 NProgress 官网 所示,如果调用了 NProgress.done() 之后再调用 NProgress.inc() 将重新唤起进度条。
NProgress.done()
NProgress.inc()
我发现这是因为 load 事件触发后,events.js 中再次调用了 NProgress.inc 所致。
NProgress.inc
利用 NProgress.done() 执行后,NProgress.status 变为 null 这一点可以修复这个 bug。
NProgress.status
如果可以的话,我会提一个 PR。
Sorry, something went wrong.
🐛 修复永远加载不完的进度条 fluid-dev#1067
75929c4
🐛 修复永远加载不完的进度条 #1067
2919e85
非常感谢
903b115
No branches or pull requests
请确认
hexo clean && hexo s
,并且清除浏览器缓存,仍可复现Bug 描述
NProgress bar 始终加载中。
#994
复现步骤
个人博客
可能与网络有关。
截图
The text was updated successfully, but these errors were encountered: