Explorar el Código

试卷渲染不可中断

Michael Wang hace 4 años
padre
commit
b58e38501a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/features/mark/CommonMarkBody.vue

+ 2 - 0
src/features/mark/CommonMarkBody.vue

@@ -352,6 +352,7 @@ export default defineComponent({
 
       try {
         rendering.value = true;
+        store.globalMask = true;
 
         const hasSliceConfig = store.currentTask?.sliceConfig?.length;
 
@@ -368,6 +369,7 @@ export default defineComponent({
       } finally {
         __lock = false;
         rendering.value = false;
+        store.globalMask = false;
       }
     };