8000 页码在点击别的地方重新渲染image组件以后,会错乱 · Issue #375 · react-component/image · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

页码在点击别的地方重新渲染image组件以后,会错乱 #375

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

Open
xiaomonvguoguo opened this issue Dec 16, 2024 · 0 comments
Open

Comments

@xiaomonvguoguo
Copy link
xiaomonvguoguo commented Dec 16, 2024

问题描述:在表格里面使用了图片预览功能,并且可以预览多张图片,操作步骤:表格的某列有8张图片,点击预览功能,可以正常翻页,看到的是1/8,此时,关掉预览功能,去点击一下表格的查询接口,再打开预览,页码会随机变成2/8或者3/8
1734348525837

我打印出来,点击查询组件会渲染好多次,渲染3-4遍以后,id开始乱了,还不连续了
企业微信截图_675ebefc-43b0-45ab-844f-5322ab5f054a
1734348656641
的id都乱了,并且不是连续的,
怀疑问题出在这里
1734348712588
但是不理解这里为什么要写这么复杂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0