Vue-cli to bottom load

how do you get the distance from the last li in a div to the bottom of the window? Send the request after the end

then repeat the previous step

Feb.27,2021

is the same as using ref in ordinary dom (vue), scroll the container to bind the scroll event, and getBoundingClientRect () get it. Since it is the last li, directly get the distance at the bottom of the div (maybe minus the height of loading animation div?) Just get this value and make a judgment.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be50c6-3048f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be50c6-3048f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?