javascript - Problems with dynamically loading data in element ui tables
天蓬老师
天蓬老师 2017-06-28 09:26:25
0
1
958

Write a timer that requests background data every 5 seconds, and then passes the data to element ui for table rendering. The data can come out, but the table will jitter when the data is re-rendered, and the user experience is not good. , how to solve it?
When the table is empty, no data is displayed, and the height is as high as one row of tr. When there is data, the height is larger, so jitter occurs when dynamically rendering data.
When there is data:

When there is no data:

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
Peter_Zhu

Set the height of the table to death

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template