Problem with vue route redirection. Home- > a-> b, b fallback page a page is not refreshed. Every time home enters page a, the page is refreshed. I would like to ask how to achieve this.

home page
clipboard.png

a
b

b
clipboard.png

index

clipboard.png

but it has no effect. May I ask what went wrong

?
Mar.11,2021

you need the https://github.com/zack24q/vu.


Why does the departure hook of the b page routing guard set the keepalive of the arriving page to true
bind the created destroy activated deactived hook to page an and see if the output is keepalive


write a watch, listening route on page a (yours should be a list page):

    watch: {
        '$route' (to, from){
            if (xxx) {
                this.$router.push({name:'reload'})
            }
        }
    },
    ```
    hoemb.
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-1b35f3b-2b750.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-1b35f3b-2b750.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?