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: