VisActor / VisActor/VTable

[Bug] 树形表格懒加载同时展开多行下级数据时,展开数据不对

Open
#3,034 2 comments 0 reactions 1 assignee View on GitHub

@Rui-Sun is already working on this.

Since Dec 9, 2024.

bp bug
Dominant language
TypeScript
Stars
3.7k
Forks
486
Avg merge
1d 19h
Merged PRs (30d)
16

Description

Version

1.12.0

Link to Minimal Reproduction

https://visactor.io/vtable/demo/table-type/list-table-tree-lazy-load

Steps to Reproduce
  1. 将 mock 数据的 L212 行下增加字段 children: true 使其首次展开后有两行可继续进行懒加载;
    image
  2. 对「生活家电(懒加载)」进行首次展开,展开后下级「分类3」和「分类4」可进行懒加载;
  3. 短时间内对「分类3」和「分类4」同时进行展开
Current Behavior

「分类4」的下级节点被挂到了「分类3」

Expected Behavior

懒加载的下级节点被挂到相对应的父级节点中

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.