Ver Fonte

fix: bug

zhangjie há 17 horas atrás
pai
commit
3d2fba8964
1 ficheiros alterados com 2 adições e 0 exclusões
  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)