fix(theme): 修复链接跳转参数丢失

This commit is contained in:
pengzhanbo 2024-07-14 03:07:45 +08:00
parent 6b3c2cd8bb
commit 7efa63fe31
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ function linkTo(e: Event) {
if (!isExternal.value) {
e.preventDefault()
if (link.value)
router.push({ path: link.value })
router.push(link.value)
}
}
</script>

View File

@ -21,7 +21,7 @@ function linkTo(e: Event) {
if (!isExternal.value) {
e.preventDefault()
if (link.value)
router.push({ path: link.value })
router.push(link.value)
}
}
</script>