|
|
@@ -723,10 +723,15 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- this.tcid = this.arrayToArray(
|
|
|
- this.courseDetail.juri ? this.courseDetail.juri.split(",") : [],
|
|
|
- this.tcid2 ? this.tcid2.split(",") : []
|
|
|
- )[0] || "";
|
|
|
+ if(this.tType == '2'){
|
|
|
+ this.cid = this.$route.query.cid || ''
|
|
|
+ }else {
|
|
|
+ this.tcid = this.arrayToArray(
|
|
|
+ this.courseDetail.juri ? this.courseDetail.juri.split(",") : [],
|
|
|
+ this.tcid2 ? this.tcid2.split(",") : []
|
|
|
+ )[0] || "";
|
|
|
+ }
|
|
|
+
|
|
|
console.log('tcid', this.tcid)
|
|
|
console.log('tcid2', this.tcid2)
|
|
|
if (this.tcid && res.data[1].length) {
|