How can vue-router listen for return events

how can the return event of vue-router be monitored? is there any other way to listen to the history event with the original sound?

what is the difference between the return button in the browser and the return in Wechat? I wonder if the return in Wechat can be monitored.

Mar.09,2021

you can think differently and ignore events. Since the return will cause url changes, why not just listen for url changes?

Menu