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
升级antd4 手机出现样式问题 隔一会还崩溃 rc-banner-anim 不显示 #6048
Comments
你的网页中有什么逻辑死循环吗? |
没有逻辑死循环啊,不切换手机显示的情况下是没有问题的, 切换手机显示, 没一会就挂了 ,并且打包后的没有问题。好奇怪啊 |
这是老版本 没有升级antd4 时 的样子 |
等待一会 没有出现�崩溃的情况 升级步骤如下: 之后按照提示修改: "@ant-design/pro-layout": "^5.0.5", |
@ 各位大佬给看看 |
我一打开你的网页,几秒钟 内存就耗尽了。 |
嗯 ,刚才吗? |
看了我本地崩溃是cpu 满了 |
通过二分法试一试到底是谁干的,不然没发排查问题 |
昨天排查了, 把轮播图和list 分开都没事, 在一起有时候cpu 就满了,list在其他地方我也有使用没有出现问题,但是轮播图只有这个页面有 |
等下我在排查一次 |
@chenshuai2144 找到了缩小到了轮播图这里,rc-banner-anim |
测试了几次就是这个rc-banner-anim |
图片能看到吗 |
去给 rc-banner-anim 提个 bug 吧 |
Reproduction link
http://www.kzabc.com
Steps to reproduce
手机访问kzabc.com 或者chrome 访问 控制台切换手机模式, 将会出现样式问题, 以及"rc-banner-anim": "^2.4.2", 轮播图不显示 访问成功后等一会页面会崩溃
What is expected?
解决bug
What is actually happening?
页面 样式混乱, 轮播图不显示 页面会崩溃
The text was updated successfully, but these errors were encountered: