Skip to content
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

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

Closed
BySlin opened this issue Sep 15, 2022 · 0 comments
Closed

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

BySlin opened this issue Sep 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@BySlin
Copy link

BySlin commented Sep 15, 2022

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没有清空,导致此问题发生

@BySlin BySlin added the bug Something isn't working label Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants