Prechádzať zdrojové kódy

作答显示多个小题

liurongli 1 mesiac pred
rodič
commit
c5e303352f

+ 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>