升级:VitePress 版本升级为 v1.0.0-alpha.8
This commit is contained in:
@@ -43,7 +43,7 @@ const { theme, frontmatter } = useData()
|
||||
const data = reactive({
|
||||
author: frontmatter.value?.author ?? theme.value.articleMetadataConfig.author,
|
||||
authorLink: frontmatter.value?.authorLink ?? theme.value.articleMetadataConfig.authorLink,
|
||||
articleLink: decodeURI(location.href)
|
||||
articleLink: decodeURI(window.location.href)
|
||||
})
|
||||
const { author, authorLink, articleLink } = toRefs(data)
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user