Thought it was time to keep track of some potholes
I recently made an infinite scroll that needs to be implemented in the table module
Those of you who use elementUI should know that there is such a component, as shown below
The example on the official website is infinite scrolling based on Ul lists
In the actual application of table, there will be our text prompt will run outside, and the page scroll wheel will stay at the bottom until it is all loaded, which is not what we want to achieve;
Solutions:
We go back to the component of the elementUI document and see that the component has slots
Use: