The Vue A page introduces a packaged model component loaded with Threejs, which has CSS3dsprite text on the model. After rotating the model, it jumps to page B and then returns to page A. The Threejs model is still in the same position as when it left. Dragging the mouse, the text does not correspond to the model and does not follow the model anymore. May I ask how to jump back to page A and reload the rendering of Threejs components? Using v-if='flag 'at the component reference point on page A to switch the flag state does not work
Re entering the page, the model is still in the same position as when it left, and the text labels no longer follow the model, use ‘location.reload’ can resolve ,but it’s not good; I have no other way to handle it