修复:修改书籍购买跳转和章节锁定问题
This commit is contained in:
@@ -264,7 +264,7 @@ function handlePurchase(goods: IGoods) {
|
||||
|
||||
// 页面跳转
|
||||
function goToReader() {
|
||||
const isBuy = bookInfo.value.isBuy ? 0 : 1
|
||||
const isBuy = bookInfo.value.isBuy ? 1 : 0
|
||||
const count = bookInfo.value.freeChapterCount || 0
|
||||
uni.navigateTo({
|
||||
url: `/pages/book/reader?isBuy=${isBuy}&bookId=${bookId.value}&count=${count}`
|
||||
|
||||
Reference in New Issue
Block a user