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