Explorar o código

fix简答题重置

Michael Wang %!s(int64=6) %!d(string=hai) anos
pai
achega
2f3429e84f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/features/OnlineExam/Examing/TextQuestionView.vue

+ 1 - 1
src/features/OnlineExam/Examing/TextQuestionView.vue

@@ -39,7 +39,7 @@ export default {
     },
     studentAnswer() {
       let realAnswer = null;
-      if (this.studentAnswer || this.studentAnswer.trim()) {
+      if (this.studentAnswer) {
         // 如果有实际内容
         realAnswer = this.studentAnswer;
       }