|
|
@@ -56,7 +56,7 @@ export default {
|
|
|
},
|
|
|
async mounted() {
|
|
|
this.codeHomeworkListLoading = true;
|
|
|
- const list = await getCodeAssignmentListByStu(this.course.id);
|
|
|
+ const list = await getCodeAssignmentListByStu(this.$route.params.courseId);
|
|
|
this.codeHomeworkList = list.data;
|
|
|
this.codeHomeworkListLoading = false;
|
|
|
}
|