Browse Source

作答显示多个小题

liurongli 1 tháng trước cách đây
mục cha
commit
c5e303352f
1 tập tin đã thay đổi với 2 bổ sung và 0 xóa
  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>