mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(docs): logo link (#7133)
This commit is contained in:
@@ -21,7 +21,7 @@ const { theme, page } = useData()
|
||||
|
||||
const currentLink = computed(() => {
|
||||
if (!inBrowser) {
|
||||
return `/${page.value?.frontmatter?.lang || ''}`
|
||||
return `/${page.value?.frontmatter?.lang || ''}/`
|
||||
}
|
||||
const existLangIndex = theme.value.langs.findIndex((lang) =>
|
||||
window?.location?.pathname.startsWith(`/${lang}`)
|
||||
|
||||
Reference in New Issue
Block a user