Prechádzať zdrojové kódy

修改loadding位置

xiejiebiao 2 rokov pred
rodič
commit
238e072f5a

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

@@ -1674,6 +1674,7 @@ export default {
         this.$message.warning("排序不允许重复");
         return;
       }
+      this.disabledBtn = true;
       var arrs = [];
       for (let i = this.tableData.length-1; i >= 0; i--) {
         if (self.tableData[i].questionId) {
@@ -1688,8 +1689,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,
@@ -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);
         })