feat: update jump logic

This commit is contained in:
tim
2025-07-08 23:09:56 +08:00
parent fe3ed1cdf7
commit 7a8b20047e

View File

@@ -76,7 +76,7 @@ export default {
} else if (opt.type === 'user') {
router.push(`/users/${opt.id}`)
} else if (opt.type === 'comment') {
router.push(`/posts/${opt.postId}#comments-${opt.id}`)
// code here
}
selected.value = null
keyword.value = ''