From 927c5529eb34140c797655ceed25127d3322ff53 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Thu, 20 Apr 2023 16:00:44 +0800 Subject: [PATCH] --fix bug --- src/components/PathDetailImage.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/PathDetailImage.vue b/src/components/PathDetailImage.vue index 175604c..3cecd1a 100644 --- a/src/components/PathDetailImage.vue +++ b/src/components/PathDetailImage.vue @@ -160,6 +160,9 @@ function toDetail(i) { if(current.value !== i && canStudy(props.detail.previewSetting,i+1)){ isStudy = false } + if(current.value !== i && canStudy(props.detail.studySetting,i+1)){ + isStudy = true + } const chapterId = showList.value[i].id; (import.meta.env.MODE === "development" || import.meta.env.MODE === "test") ? router.push({