Răsfoiți Sursa

作答显示多个小题

liurongli 1 lună în urmă
părinte
comite
c5e303352f
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      src/views/targetImprove/components/QuestionItem.vue

+ 2 - 0
src/views/targetImprove/components/QuestionItem.vue

@@ -17,6 +17,8 @@
     <div class="question_content" v-html="question.title">
         
     </div>
+    <!-- 小题 -->
+    <div class="question_content" v-for="subQues in (question?.subQuestions || [])" :key="subQues.questionId" v-html="subQues.title"></div>
   </div>
 </template>
 <script>