mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
提交
This commit is contained in:
@@ -100,12 +100,11 @@
|
||||
if(!data.contentId){
|
||||
return;
|
||||
}
|
||||
console.log(data.info,'data.info')
|
||||
if(!data.info.enabled || data.info.deleted){
|
||||
this.$message.warning("此课程已停用或已删除");
|
||||
return;
|
||||
}
|
||||
this.$router.push({ path: '/course/detail?id=', query: { id: data.contentId } });
|
||||
this.$router.push({ path: '/course/studyindex?id=', query: { id: data.contentId } });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user