Element Plus version
1.0.2-beta.53
OS/Browsers version
Google Chrome version 90.0.4430.212(正式版本) (64 位)
Vue version
3.1.2
Reproduction Link
https://codepen.io/no-map/pen/GRmgjea
Steps to reproduce
- 点击展开按钮 获取懒加载数据。下方数据源没有生成children字段
- 点击按钮 click me! 无法更改懒加载回来的数据
What is Expected?
- 树形表格懒加载数据应该更改源数据,并且数据拥有响应式
What is actually happening?
- 懒加载回来的数据没有写入源数据
5条答案
按热度按时间yvt65v4c1#
Translation of this issue:
Element Plus version
1.0.2-beta.53
OS/Browsers version
Google Chrome version 90.0.4430.212 (official version) (64 bit)
Vue version
3.1.2
Reproduction Link
https://codepen.io/no-map/pen/GRmgjea
Steps to reproduce
What is Expected?
What is actually happening?
ukxgm1gy2#
anyone else? i need help. x (
w46czmvw3#
Because the lazy-loaded children are not assigned to the data (data is props), so your changes have no effect.
vu8f3i0k4#
更新后table [tree异步加载后节点总是全部收起,又要重新一层层的展开,如何保留已经展开节点 gif问题描述
rsaldnfx5#
Using lazy loading, modify the third layer node below the first layer, and the third layer node does not disappear