zhangjie 6 сар өмнө
parent
commit
3d81f411d6

+ 1 - 1
src/modules/questions/views/GenPaper.vue

@@ -1162,9 +1162,9 @@ export default {
         pageSize: "A4",
       }).catch((error) => {
         console.error(error);
-        this.downloading = false;
         this.$message.error("生成答案pdf错误");
       });
+      this.downloading = false;
       this.paperJson = null;
       this.$message.success("答案pdf生成成功");
     },