ChenYangfan 6 лет назад
Родитель
Сommit
e523b43f1d
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      src/views/student/components/StudentCourseDetail.vue

+ 0 - 4
src/views/student/components/StudentCourseDetail.vue

@@ -66,10 +66,6 @@ export default {
   },
   methods: {
     init() {
-      this.getCourse()
-      this.fetchNotices()
-    },
-    getCourse () {
       getOneCourse({ courseId: this.$route.params.courseId })
         .then(res => {
           this.course = res