zhangjie hai 6 horas
pai
achega
701a4a333d
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      src/modules/mark/marker/MarkerMarking.vue

+ 5 - 0
src/modules/mark/marker/MarkerMarking.vue

@@ -2,6 +2,7 @@
   <div class="marker-marking marker-grading">
     <marker-header
       v-if="paramsSetReady"
+      ref="markerHeaderRef"
       :show-standard="false"
       :show-statistics="false"
       show-undo-level
@@ -779,6 +780,10 @@ export default {
           );
         }
 
+        if (this.curStep.type === "undo") {
+          this.$refs.markerHeaderRef?.getUndoLevels();
+        }
+
         if (
           this.curStep.type === "undo" ||
           this.curStep.type === "shiftScore"