zhangjie 6 月之前
父節點
當前提交
3d81f411d6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/questions/views/GenPaper.vue

+ 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生成成功");
     },