三七 há 4 dias atrás
pai
commit
9ff9491801

+ 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) {