element ui的table树节点+checkbox,数据量大时出现卡顿

el-table 使用lazy和load,懒加载子节点,this.$refs.tree.store.states.lazyTreeNodeMap[el-table中的row.key]能够获取到懒加载出来的数据的checkbox,参考这篇文章https://blog.csdn.net/qq_42383970/article/details/125560522,当重新点查询时,懒加载的数据没有被消除还存在,那么则需要这样重置懒加载的数据为空this.$refs.tree.store.states.lazyTreeNodeMap = {}

 

posted @ 2022-12-03 01:11  强者之途  阅读(552)  评论(0编辑  收藏  举报
/* 看板娘 */