Explorar el Código

未填写答案显示原题

dusenyao hace 1 año
padre
commit
c5ca1dcce5
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  1. 10 0
      src/views/home/recovery/ExerciseAnswerUserList.vue

+ 10 - 0
src/views/home/recovery/ExerciseAnswerUserList.vue

@@ -253,6 +253,16 @@ export default {
           this.$nextTick().then(() => {
             this.$refs.exercise?.[0].showAnswer(true, true, content.length > 0 ? JSON.parse(content) : null, true);
           });
+        } else {
+          this.$refs.exercise?.[0].showAnswer(
+            false,
+            false,
+            {
+              answer: '',
+              answer_list: [],
+            },
+            true,
+          );
         }
       });
     },