瀏覽代碼

作答显示多个小题

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>