refactor(BookDetail): 删除无用的goReader跳转函数
移除了不再使用的阅读器跳转方法,清理冗余代码
This commit is contained in:
parent
9b5e610cfd
commit
e6329919be
|
|
@ -179,10 +179,6 @@ const loadChapters = async () => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const goReader = (chapterId: number) => {
|
|
||||||
router.push({ name: "Reader", query: { id: chapterId } })
|
|
||||||
}
|
|
||||||
|
|
||||||
const onPageChange = (p: number) => {
|
const onPageChange = (p: number) => {
|
||||||
page.value = p
|
page.value = p
|
||||||
loadChapters()
|
loadChapters()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue