Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
2.7k views
in Technique[技术] by (71.8m points)

elementui el-table 根据筛选条件动态渲染不同的表头和数据

现要根据一个条件切换,由接口返回表头和表格数据,动态显示表格。表格展示列很多,大概二三十列,切换时表格重新渲染特别慢,怎么优化?
分页表格,一页显示10条,接口响应的很快,应该是页面表格先销毁再循环遍历生成慢的原因,具体的机制也不是很清楚,如有遇到类似问题的前辈,能帮忙解答一下吗?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...