xiejiebiao há 2 anos atrás
pai
commit
17b27a69d1

+ 3 - 3
src/views/resource/bankManagement/testPaperManagement/addPaper/topicAddPaper/index.vue

@@ -1714,9 +1714,9 @@ export default {
           setTimeout(async () => {
             await this.removeInfo();
             this.$store.dispatch("tagsView/exitView", this.$route).then(() => {
-              // this.$router.push({
-              //   path: "testPaperManagement",
-              // });
+              this.$router.push({
+                path: "testPaperManagement",
+              });
             });
           }, 500);
         })

+ 2 - 2
src/views/resource/bankManagement/testPaperManagement/editPaper/topicEditPaper/index.vue

@@ -1725,6 +1725,7 @@ export default {
         return;
       }
       var arrs = [];
+      this.disabledBtn = true;
       for (let i = this.tableData.length - 1; i >= 0; i--) {
         if (self.tableData[i].questionId && self.tableData[i].diff) {
           await self.uploadApis(self.tableData[i]);
@@ -1739,8 +1740,7 @@ export default {
           score: self.tableData[i].score,
           partScore: self.tableData[i].partScore,
         });
-      }
-      this.disabledBtn = true;
+      }     
       var data = {
         examId: this.$route.query.id,
         questionList: arrs,