Skip to content

迭代器容器的bug #654

@sxlleo

Description

@sxlleo

Describe the bug
迭代器容器使用本地缓存的数据的时候,拖拽迭代器容器,会导致传递给迭代器容器的iteratorData是错误数据

To Reproduce
Steps to reproduce the behavior:

  1. 在页面创建迭代器容器;
  2. 在迭代器容器上面绑定一个数据源,数据的数组长度要大于2(方便观察现象);
  3. 保存页面
  4. 浏览器中刷新整个页面
  5. 拖拽迭代器容器

Expected behavior
希望能够正常拖拽,但是发现迭代器容器突然迭代了2次;

Screenshots
正确的展示:
Image

不正确的展示:
Image

刷新页面之前和刷新页面拖拽之后的迭代器props.config的数据对比:
Image

Additional context
低代码的版本是v1.5.24

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