Merge pull request #4603 from TimmePfeife/patch-1

fix: navigate to page instead of full page load
pull/4572/head
Tuğçe Küçükoğlu 2023-10-13 14:34:49 +03:00 committed by GitHub
commit 8e4d79290e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>