This commit is contained in:
daihh
2022-10-25 19:37:41 +08:00
2 changed files with 12 additions and 4 deletions

View File

@@ -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 } });
}
}
}