vue.js, there is an a function that subscribes to websocket. Switch to another page and then switch back. Because the a function of a page is executed in mounted, it subscribes again, causing the client to receive duplicate messages. However, the requirement is that you cannot unsubscribe when you leave page a, so is there any way to make it not repeat subscriptions?