Vue-router return question

pages An and B, they can both jump to page C, C can jump to page D

A, B-> C-> D

now I am jumping back and forth between C and D, how to solve their order problem?
also, how to determine whether it is entered from An or B.


use the hook of the route to judge beforeEach


write the beforeRouterEnter hook in C, and judge from to know whether it is An or B

.
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-1b389a5-2b973.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-1b389a5-2b973.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?