|
@@ -79,6 +79,7 @@ const getTickerValue=async ()=>{
|
|
|
let info=ref(null)
|
|
|
let audioData=ref(null)
|
|
|
const getChapterReportDetail=async ()=>{
|
|
|
+ console.log(chapterId.value);
|
|
|
const res=await apiChapterDetail({
|
|
|
report_chapter_id:Number(chapterId.value)
|
|
|
})
|
|
@@ -226,7 +227,7 @@ onMounted(()=>{
|
|
|
|
|
|
onBeforeRouteUpdate((to,from)=>{
|
|
|
console.log(to.query);
|
|
|
- chapterId.value=to.chapterId
|
|
|
+ chapterId.value=to.query.chapterId
|
|
|
getChapterReportDetail()
|
|
|
getQRCodeImg()
|
|
|
})
|