scenario is the effect of "read more" (the same effect as csdn blog posts). If the container content is higher than 1000px, the content outside 1000px is hidden, and the button "read more" is displayed. If the container content is not high enough, 1000px displays all the content.
contains images. I have tried that watch+nextTick, mounted+nextTick and updated+nextTick, can only obtain the height of the text, but the height of the image can never be obtained. How to obtain the true rendered height of the container?
or is there any other way to "read more" without judging the height of the content?