This commit is contained in:
zhaofang
2022-10-28 10:44:17 +08:00
parent aef9017991
commit 540b1d8d7a
17 changed files with 86 additions and 82 deletions

View File

@@ -847,16 +847,16 @@ export default {
jumpRouter(item) {
//console.log(item.type, "item.type");
// return console.log(id,type,"fihkj1")
if (item.type == 20) {
// if (item.type == 20) {
//录播课
// window.open(`${this.webBaseUrl}/course/detail?id=${id}`)
this.$router.push(`/course/detail?id=${item.id}`);
}
if (item.type == 10) {
// }
// if (item.type == 10) {
//微课
// window.open(`${this.webBaseUrl}/course/micro?id=${id}`)
this.$router.push(`/course/micro?id=${item.id}`);
}
// this.$router.push(`/course/micro?id=${item.id}`);
// }
},
jumpRouter2(item) {
// console.log(item,"土豪包括九年")
@@ -865,16 +865,16 @@ export default {
//console.log(item.type,type,'item.type');
// return console.log(id,type,"fihkj1")
if (type == 20) {
// if (type == 20) {
//录播课
// window.open(`${this.webBaseUrl}/course/detail?id=${id}`)
this.$router.push(`/course/detail?id=${id}`);
}
if (type == 10) {
// }
// if (type == 10) {
//微课
// window.open(`${this.webBaseUrl}/course/micro?id=${id}`)
this.$router.push(`/course/micro?id=${id}`);
}
// this.$router.push(`/course/micro?id=${id}`);
// }
}
}
};