Can the router-link tag jump through the click event without going through the to jump?

can the router-link tag jump through a click event without going through the to jump? Or what events will be triggered when router-link jumps?

May.22,2021

you can refer to this, which is now in the process of moving bricks. I can't test ide/essentials/navigation.html" rel=" nofollow noreferrer "> https://router.vuejs.org/zh/g.


for you in advance.

can jump programmatically, that is, specify a click event, and then jump like this in the logic of the click event.

this.$router.push('/path')

router-link component, to is a required attribute, this component will not be rendered if it is missing, and click events written on router-link components must be written like this to take effect!

<router-link to="/" @click.native="click">to home</router-link>
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-1c06603-327e2.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-1c06603-327e2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?