mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
提交
This commit is contained in:
@@ -84,10 +84,10 @@
|
||||
this.$emit('hideIndex',id)
|
||||
},
|
||||
jumpDetail(data) {
|
||||
if(!data.id){
|
||||
if(!data.courseId){
|
||||
return;
|
||||
}
|
||||
this.$router.push({ path: '/course/detail?id=', query: { id: data.id } });
|
||||
this.$router.push({ path: '/course/detail?id=', query: { id: data.courseId } });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user