-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
n-spin进度环被js堵塞 #2506
Labels
bug
Something isn't working
Comments
没办法,js 会阻塞 ui 渲染 |
你肯定没看重现链接,我在里面写了两个进度环, |
这个事情比较奇怪,只能学习一下人家的写法了 |
closed in #2543 |
Closed
单放个spin cpu占用好高啊 |
确实,进入spin文档页面,chrome的CPU占用会增加5%左右。 |
version:2.40 alert就转的慢,alert取消就恢复正常速度,估计跟n-spin里面的js watch有关 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TuSimple/naive-ui version (版本)
2.25.5
Vue version (Vue 版本)
3.2.31
Browser and its version (浏览器及其版本)
Chrome 98.0.4758.102
System and its version (系统及其版本)
windows 10
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/currying-hooks-ef7g87?file=/src/App.vue
Reappearance steps (重现步骤)
点击alert按钮,模拟堵塞状态
Expected results (期望的结果)
执行alert时,n-spin仍然旋转
Actual results (实际的结果)
执行alert时,n-spin停止旋转
Remarks (补充说明)
关于codesandbox重现链接,如果报错。多刷新几次
The text was updated successfully, but these errors were encountered: