ソースを参照

作答显示多个小题

liurongli 1 ヶ月 前
親
コミット
c5e303352f
1 ファイル変更、2 行追加、0 行削除
  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>