修复追剧传参问题

This commit is contained in:
YeMingfei666 2025-01-06 21:45:00 +08:00
parent e425f9dafc
commit aa2e7d1ca4
2 changed files with 4 additions and 3 deletions

View File

@ -1222,7 +1222,7 @@
let data = {
courseId: this.courseId,
classify: 1,
type: this.isCollect == false ? 1 : 0
type: this.isCollect? 1 : 0
}
clearTimeout(this.zhuijuTimer)
this.zhuijuTimer=setTimeout(()=>{

View File

@ -1432,7 +1432,7 @@
let data = {
courseId: this.courseId,
classify: 1,
type: this.isCollect == false ? 1 : 0
type: this.isCollect == true ? 1 : 0
}
clearTimeout(this.zhuijuTimer)
this.zhuijuTimer = setTimeout(() => {
@ -1637,9 +1637,10 @@
} else { //
let indexs = -1
courseDetailsId=courseDetailsId?courseDetailsId: res.data.current.courseDetailsId
if (courseDetailsId) { //
this.meunList.map((item, index) => {
if (item.courseDetailsId == courseDetailsId) {
if (item.courseDetailsId ==courseDetailsId) {
indexs = index
}
})