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

懒加载配合setTreeExpand使用时懒加载数据丢失 #2650

Open
1 task done
xiyure opened this issue Nov 21, 2024 · 0 comments
Open
1 task done

懒加载配合setTreeExpand使用时懒加载数据丢失 #2650

xiyure opened this issue Nov 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xiyure
Copy link

xiyure commented Nov 21, 2024

可复现的链接(包含复现链接与示例代码):

https://codesandbox.io/p/sandbox/settreeexpanbdwen-ti-yan-shi-jgg2l2?file=%2Fsrc%2Fviews%2FDemo1.vue%3A31%2C19

问题描述与截图:

表格使用懒加载,数据刷新后调用setTreeExpand展开树节点,懒加载数据丢失;已附带复现案例,操作过程,数据加载后点击展开按钮,然后点击刷新数据,数据刷新后再次点击展开按钮即可复现;

期望的结果:

上述场景下懒加载能够正常使用

操作系统:

window 11

浏览器版本:

126.0.6478.183

vue 版本:

3.4.21

vxe-pc-ui 版本:

4.0.82

vxe-table 版本:

4.9.3

是否使用当前最新版本?

  • 我已确认是使用当前的最新版本并已按要求提供复现链接与示例代码。
@xiyure xiyure added the bug Something isn't working label Nov 21, 2024
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

1 participant