[vue-router] from the page A-> B-> C-> B, now you need to go back to A directly from B to find a solution.

premise:
1. Jump to A without push,
2. Do not use "simple" go (- 2), please read the following requirements patiently

requirements:
1.The sibling route between B and C (a word of nonsense). No matter how you jump from BC to url, you will enter page A
2 as long as url rollback. For example, A-> B-> C-> B-> C, no matter how many steps are taken, the final routing record should be Amurc
3. Similar to the concept that WeChat Mini Programs wx.redirectTo (OBJECT) closes the current page and jumps to a page within the application

ask the Great God to provide solutions!


Use router.replace

when

B-> C and C-> B.

see document

for details.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beddbc-31bd2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beddbc-31bd2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?