Syntax error fix

Fix erroneous quotation marks in class attribute binding
pull/2817/head
Lucas O'Neil 2022-07-29 22:55:04 -07:00 committed by GitHub
parent 5a0fe421a5
commit e6d649ccd5
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"> <MegaMenu :model="items">
<template #item="{item}"> <template #item="{item}">
<router-link :to="item.to" custom v-slot="{href, route, navigate, isActive, isExactActive}"> <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> </router-link>
</template> </template>
</MegaMenu> </MegaMenu>
@ -739,4 +739,4 @@ export default {
} }
} }
} }
</script> </script>