fix(theme): 修复链接跳转参数丢失
This commit is contained in:
parent
6b3c2cd8bb
commit
7efa63fe31
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user