Page A is the login page. After successfully logging in, page A is redirected to homepage B, but why does it still return to the login page when pressing back? Is it because of a cache problem or other reasons? Please give me some advice
给我你的怀抱2017-05-19 10:45:01
If you passrouter.push(location)
的方式来跳转到B页面的话,改成router.replace(location)
that’s it.