mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-21 06:20:59 +08:00
feat: update jump logic
This commit is contained in:
@@ -75,6 +75,8 @@ export default {
|
||||
router.push(`/posts/${opt.id}`)
|
||||
} else if (opt.type === 'user') {
|
||||
router.push(`/users/${opt.id}`)
|
||||
} else if (opt.type === 'comment') {
|
||||
router.push(`/posts/${opt.postId}#comments-${opt.id}`)
|
||||
}
|
||||
selected.value = null
|
||||
keyword.value = ''
|
||||
|
||||
Reference in New Issue
Block a user