Skip to content

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

Description

@xiaomonvguoguo

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions