The page opened by Wechat in the vue project is not the current page through the system browser.

Wechat pay in Alipay, complete the payment by opening the system browser. The project is built on vue. Instead of the current page being opened via safari, you are going to the root directory of the route. Not even history with mode. Dear gods, how to solve it!


problem description is not clear enough


window.location.href=window.location.href


encountered the same problem, to be solved

Menu