zhangjie hai 20 horas
pai
achega
3d2fba8964
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/modules/marking/mark/components/ScoringPanel.vue

+ 2 - 0
src/modules/marking/mark/components/ScoringPanel.vue

@@ -210,6 +210,8 @@ const onSubmit = () => {
 }
 
 const onEnter = (index: number) => {
+  if (!allowSubmit.value || buttonDisabled.value) return
+
   dialogModeBeforeSubmit.value = dialogMode.value
   sessionStorage.set('dialogModeBeforeSubmit', dialogModeBeforeSubmit.value)