How does vue judge that the content of the picture and text exceeds the specified height to achieve the effect of "reading the full text"?

to achieve the effect similar to that of a short book. If the content exceeds 1000px, the full text will not be displayed. How can you tell that all the pictures have been loaded to get the true height?

another phenomenon is found that the length of the scroll bar will jump from long to shorter when loading, which should be caused by waiting for the page content to be loaded and then folded, but this is not the case when CSDN is loaded. I don"t know what dark magic CSDN uses?

May.22,2021

ULIVZ wrote a Wheel specifically for this purpose.

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-1eb1e6c-2390.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-1eb1e6c-2390.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?