I used Vue2 and three. js to render a 3D mesh model. When I created two scenes of different sizes on two different pages, when I switched from a page with a small scene to a page with a large scene, the page with a large scene woul
d become the size of the scene in the page with a small scene.
Could you share a live example / video / code that reproduces the issue? Seems a bit sus that two separate pages would influence one another.
Thank you for your reply. As can be clearly seen in the video, everything is normal during page switching. In the final part of the video, when jumping from a page with a small scene to a page with a large scene, the two scenes seem to affect each other. I clicked on refresh at the end of the video to display what I wanted.
Video_2023-11-06_165216.wmv (1.8 MB)

I executed these codes when I clicked on the last part of the jump, trying to delete dom elements and clear the scene (I don’t know if I wrote it correctly)