Vue project, what's the difference between the code that refreshes page An and jumps to page A by route?

problem description

because the ios security policy cannot automatically play music, put it in the wx.ready method to execute document.getElementById ("rightAudio"). Play ();
), but jump to this page via route and do not play music. Music will only be played when the page is refreshed
what is the reason for the magnificent leaders

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Menu