//replace
<router-link to="/about" tag="span" event="dblclick">About Us</router-link>
//with
<router-link to="/about" custom v-slot="{ navigate }">
<span @click="navigate" @keypress.enter="navigate" role="link">About Us</span>
</router-link>
Copy the code