Merge pull request #2817 from loneil/patch-1

Syntax error fix
pull/2835/head
Tuğçe Küçükoğlu 2022-08-03 12:33:52 +03:00 committed by GitHub
commit cf1d6b2162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ export default {
<MegaMenu :model="items">
<template #item="{item}">
<router-link :to="item.to" custom v-slot="{href, route, navigate, isActive, isExactActive}">
<a :href="href" @click="navigate" :class="{'active-link': isActive, 'active-link-exact": isExactActive}>{{route.fullPath}}</a>
<a :href="href" @click="navigate" :class="{'active-link': isActive, 'active-link-exact': isExactActive}">{{route.fullPath}}</a>
</router-link>
</template>
</MegaMenu>
@ -739,4 +739,4 @@ export default {
}
}
}
</script>
</script>