|
|
@@ -19,7 +19,7 @@ const items: ComputedRef<Array<AnyJson>> = computed(() => {
|
|
|
|
|
|
crumbs.push({
|
|
|
title: i18n.t('welcome'),
|
|
|
- href: runtimeConfig.baseUrlAdminLegacy
|
|
|
+ href: UrlUtils.join(runtimeConfig.baseUrlAdminLegacy, '#', 'dashboard')
|
|
|
})
|
|
|
|
|
|
const pathPart: Array<string> = UrlUtils.split(router.currentRoute.value.path)
|
|
|
@@ -27,7 +27,7 @@ const items: ComputedRef<Array<AnyJson>> = computed(() => {
|
|
|
let path: string = ''
|
|
|
|
|
|
pathPart.forEach((part) => {
|
|
|
- path = `${path}/${part}`
|
|
|
+ path = UrlUtils.join(path, part)
|
|
|
|
|
|
const match = router.resolve(path)
|
|
|
|