Quellcode durchsuchen

阅卷路由跳转优化

nikang vor 6 Jahren
Ursprung
Commit
1c681a2297

+ 0 - 0
src/modules/marking/.ignore


+ 0 - 1
src/modules/marking/views/MarkSettingWork.vue

@@ -294,7 +294,6 @@ export default {
     }
   },
   created() {
-    this.user.userId = 55666;
     this.initMarkWork();
   }
 };

+ 0 - 1
src/modules/marking/views/Marking.vue

@@ -714,7 +714,6 @@ export default {
     ...mapState({ user: state => state.user })
   },
   async created() {
-    this.user.userId = 55666;
     this.loading = true;
     await this.markInit();
     await this.getChangeTasks();

+ 6 - 6
src/modules/marking/views/TpScoreBoard.vue

@@ -737,6 +737,12 @@ export default {
         document.getElementById(itemInput).focus();
       }, 1);
       this.positionDiv(order);
+    },
+    markRemarkInfo() {
+      this.textarea = "";
+      if (this.markedResult.id) {
+        this.textarea = this.markedResult.markRemark;
+      }
     }
   },
   watch: {
@@ -755,12 +761,6 @@ export default {
       if (!this.isMouseMode) {
         this.initKeyBoardMode();
       }
-    },
-    markRemarkInfo() {
-      this.textarea = "";
-      if (this.markedResult.id) {
-        this.textarea = this.markedResult.markRemark;
-      }
     }
   },
   computed: {