zhangjie 9 hours ago
parent
commit
3d2fba8964
1 changed files with 2 additions and 0 deletions
  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)