mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
fix(web): access breadcrumb value correctly in currentPageTitle
This commit is contained in:
@@ -83,7 +83,7 @@ const curBreadcrumb = computed(() => {
|
|||||||
|
|
||||||
const currentPageTitle = computed(() => {
|
const currentPageTitle = computed(() => {
|
||||||
const last = curBreadcrumb.value[curBreadcrumb.value.length - 1]
|
const last = curBreadcrumb.value[curBreadcrumb.value.length - 1]
|
||||||
const title = String(last?.breadcrumb ?? '').trim()
|
const title = String(last?.breadcrumb?.value ?? '').trim()
|
||||||
return title || 'Memoh'
|
return title || 'Memoh'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user