mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
提交
This commit is contained in:
@@ -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}`);
|
||||
// }
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user