杨泽辉

Results 3 comments of 杨泽辉

> element的tree是通过一个visible变量来控制树节点的显示的,可能是传入vue-virtual-scroll-list的data-sources数据和实际显示的节点不一致导致的显示错误, > 可以尝试在tree.vue中的flattenTree方法中添加一个判断,过滤掉传入data-sources的数据 > > ``` > flattenTree(datas) { > return datas.reduce((conn, data) => { > if (data.visible) { // 添加一个判断 > conn.push(data); > } > if (data.expanded &&...