Skip to content

Commit

Permalink
Merge pull request #4603 from TimmePfeife/patch-1
Browse files Browse the repository at this point in the history
fix: navigate to page instead of full page load
  • Loading branch information
tugcekucukoglu authored Oct 13, 2023
2 parents 38140b5 + 7bcf5af commit 8e4d792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/menu/RouterDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Menu :model="items">
<template #item="{ label, item, props }">
<router-link v-if="item.route" v-slot="routerProps" :to="item.route" custom>
<a :href="routerProps.href" v-bind="props.action">
<a :href="routerProps.href" v-bind="props.action" @click="routerProps.navigate">
<span v-bind="props.icon" />
<span v-bind="props.label">{{ label }}</span>
</a>
Expand Down

0 comments on commit 8e4d792

Please sign in to comment.