Wechat official account click on the menu bar, enter different pages, and then bind the mobile phone number, how to return to the previous page?

1. I click on different links to go to different pages. In these different pages, I will get token,. If you do not bind a mobile phone number, the page that gets token will visit the page that binds your mobile phone number. After the mobile phone number is successfully bound, how can you return to the page that requested token? it used history.go (- 1) before, which is fine on Android, but the token saved by sessionStorage will be invalid on ios. How can you solve this problem?

Mar.05,2021
Menu