|
@@ -554,8 +554,8 @@ export default {
|
|
|
// CourseType2[i].course.push(res.data[0][j])
|
|
|
// }
|
|
|
let pid = CourseType2[i].id
|
|
|
- if(typeof pid != "object") pid.split(",")
|
|
|
- if(res.data[0][j].pid && this.arrayToArray(pid,res.data[0][j].pid.split(",").length)){
|
|
|
+ if(typeof pid != "object") pid = pid.split(",")
|
|
|
+ if(res.data[0][j].pid && this.arrayToArray(pid,res.data[0][j].pid.split(",")).length){
|
|
|
CourseType2[i].course.push(res.data[0][j])
|
|
|
}
|
|
|
}
|