Skip to content

bug: Tree组件在data数据变化后onLoadData不生效 #802

Description

@BySlin

Describe the bug

Versions

  • OS: windows11
  • Browser: Edge 105.0.1343.33
  • Molecule: 1.1.1

To reproduce

1、执行molecule.folderTree.add();添加目录 ,双击目录执行onLoadData加载子节点数据

2、执行molecule.folderTree.reset();

3、再执行molecule.folderTree.add();添加目录 ,再次双击目录onLoadData不在执行

Expected

点击目录时onLoadData生效

Actually happening

onLoadData不在生效

Tree组件在data数据变化后loadDataCache没有清空,导致此问题发生

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions