mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-06 03:57:54 +08:00
Update Breadcrumb.vue
This commit is contained in:
parent
efaf6eff9e
commit
62adcf035a
@ -19,7 +19,7 @@ const appStore = useAppStore()
|
||||
transition: 0.3s var(--cubic-bezier-ease-in-out);
|
||||
"
|
||||
class="flex-center gap-2 cursor-pointer split"
|
||||
@click="() => index === 0 ? router.push(item.path) : console.log('route not allowed')"
|
||||
@click="() => index === 0 ? router.push(item.path) : false"
|
||||
>
|
||||
<nova-icon v-if="appStore.showBreadcrumbIcon" :icon="item.meta.icon" />
|
||||
<span class="whitespace-nowrap">{{ $t(`route.${String(item.name)}`, item.meta.title) }}</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user