How the vue browser Refresh jumps to the specified page

how does the vue browser refresh jump to the specified page


Why refresh the jump?


record some page parameters in the routing query attribute, and refresh the page to jump according to the parameters.


No matter how you refresh, you can jump to the specified page with parameters. This is easy to implement. You can use storage to make necessary judgments


.

the description is too simple to know exactly what effect you want to achieve

you can use vue-router to jump to the page

this.$router.push({
    path: ''
});

Jump when you want to refresh, you can put this code in the corresponding hook, for example:

export default {
    created() {
        this.$router.push({
            path: ''
        });
    }
}

but it is not recommended that you do so. You can describe the problem in more detail so that people can help you solve it

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