浏览代码

feat: bug排查

zhangjie 8 月之前
父节点
当前提交
fcc9a26e48

+ 3 - 3
src/modules/grading/components/GradeAction.vue

@@ -352,9 +352,9 @@ export default {
     },
   },
   watch: {
-    curPaperOrTask() {
-      this.rebuildRight();
-    },
+    // curPaperOrTask() {
+    //   this.rebuildRight();
+    // },
     isBatchAction(val) {
       if (val) {
         this.stepType = "batch";

+ 3 - 3
src/modules/grading/components/GradeActionRough.vue

@@ -465,9 +465,9 @@ export default {
     },
   },
   watch: {
-    curPaperOrTask() {
-      this.rebuildRight();
-    },
+    // curPaperOrTask() {
+    //   this.rebuildRight();
+    // },
     isBatchAction(val) {
       if (val) {
         this.stepType = "batch";

+ 4 - 3
src/modules/mark/components/MarkAction.vue

@@ -351,9 +351,10 @@ export default {
     },
   },
   watch: {
-    curPaperOrTask(val) {
-      this.rebuildRight();
-    },
+    // curPaperOrTask(val) {
+    //   console.log("watch", val?.id);
+    //   this.rebuildRight();
+    // },
     "ribbonSet.keyboardMark": {
       immediate: true,
       handler(val) {

+ 2 - 2
src/modules/mark/leader/LeaderMarking.vue

@@ -21,12 +21,12 @@
       ]"
     >
       <mark-action
+        v-if="curPaper.id"
+        ref="GradeAction"
         :cur-paper-or-task="curPaper"
         :levels="levels"
         :key="paperKey"
         @on-leader-level="leaderSelectLevel"
-        v-if="curPaper.id"
-        ref="GradeAction"
       ></mark-action>
       <grade-ribbon v-if="curSubject.id" ref="GradeRibbon"></grade-ribbon>
     </div>