三七 4 일 전
부모
커밋
9ff9491801
3개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 1
      src/views/course/courseAnswerlogs/index.vue
  2. 1 1
      src/views/course/courseRedPacketLog/index.vue
  3. 3 1
      src/views/course/courseWatchLog/index.vue

+ 3 - 1
src/views/course/courseAnswerlogs/index.vue

@@ -389,7 +389,9 @@ export default {
         }).then(response => {
           this.download(response.msg);
           this.exportLoading = false;
-        }).catch(() => {});
+        }).catch(() => {}).finally(res=>{
+          this.exportLoading = false;
+      });
     }
   }
 };

+ 1 - 1
src/views/course/courseRedPacketLog/index.vue

@@ -436,7 +436,7 @@ export default {
           this.download(response.msg);
           this.exportLoading = false;
         }).catch(() => {}).finally(res=>{
-
+          this.exportLoading = false;
       });
     }
   }

+ 3 - 1
src/views/course/courseWatchLog/index.vue

@@ -621,7 +621,9 @@ export default {
         }).then(response => {
           this.download(response.msg);
           this.exportLoading = false;
-        }).catch(() => {});
+        }).catch(() => {}).finally(res=>{
+          this.exportLoading = false;
+      });
     },
     handleScheduleTimeChange(scheduleTime) {
       if (scheduleTime && scheduleTime.length >= 2) {