xiatian 5 年之前
父節點
當前提交
39c12047c6
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      src/modules/questions/views/EditPaper.vue

+ 6 - 3
src/modules/questions/views/EditPaper.vue

@@ -851,7 +851,7 @@ export default {
       isUpload: true,
       isUpload: true,
       isUploadAnswer: true,
       isUploadAnswer: true,
       message: "",
       message: "",
-      answerMessage:"",
+      answerMessage: "",
       checkResult: false,
       checkResult: false,
       checkResultAnswer: false,
       checkResultAnswer: false,
       fileNameList: [],
       fileNameList: [],
@@ -938,7 +938,11 @@ export default {
         headers: { "Content-Type": "multipart/form-data" },
         headers: { "Content-Type": "multipart/form-data" },
       };
       };
       this.$http
       this.$http
-        .post(QUESTION_API + "/paper/answer/import/" + this.paperId, param, config)
+        .post(
+          QUESTION_API + "/paper/answer/import/" + this.paperId,
+          param,
+          config
+        )
         .then(() => {
         .then(() => {
           this.dialogAnswerFile = false;
           this.dialogAnswerFile = false;
           this.uploadAnswerLoading = false;
           this.uploadAnswerLoading = false;
@@ -952,7 +956,6 @@ export default {
           this.uploadAnswerLoading = false;
           this.uploadAnswerLoading = false;
         });
         });
     },
     },
-  },
     //隐藏大题下的所有小题
     //隐藏大题下的所有小题
     hideContent(index) {
     hideContent(index) {
       console.log("up");
       console.log("up");