mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 21:36:42 +08:00
提交
This commit is contained in:
@@ -312,16 +312,16 @@ computed: {
|
||||
if(item.isOld){
|
||||
location.href=`${this.webBaseUrl}/course/boeframe?id=${item.id}&type=${item.courseType}`
|
||||
} else {
|
||||
if(item.courseType==10){
|
||||
this.$router.push({path:'/course/micro',query:{id:item.courseId}})
|
||||
}
|
||||
if(item.courseType==20){
|
||||
// if(item.courseType==10){
|
||||
// this.$router.push({path:'/course/micro',query:{id:item.courseId}})
|
||||
// }
|
||||
// if(item.courseType==20){
|
||||
if(item.progress>0 && item.progress<100) {
|
||||
this.$router.push({path:'/course/studyindex',query:{id:item.courseId}})
|
||||
} else {
|
||||
this.$router.push({path:'/course/detail',query:{id:item.courseId}})
|
||||
}
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user