xiatian %!s(int64=5) %!d(string=hai) anos
pai
achega
7eb2d5a94c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/modules/questions/views/EditPaper.vue

+ 2 - 0
src/modules/questions/views/EditPaper.vue

@@ -959,6 +959,8 @@ export default {
         })
         })
         .catch((error) => {
         .catch((error) => {
           this.answerMessage = error.response.data.desc;
           this.answerMessage = error.response.data.desc;
+          this.dialogAnswerFile = false;
+          document.getElementById("answerFile").value = "";
           this.uploadAnswerLoading = false;
           this.uploadAnswerLoading = false;
         });
         });
     },
     },