修复追剧传参问题
This commit is contained in:
parent
e425f9dafc
commit
aa2e7d1ca4
|
|
@ -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(()=>{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue