Procházet zdrojové kódy

bug-8547 考试填空题渲染问题

tianxinyu před 1 týdnem
rodič
revize
9085f1f4c5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/platform/bpmn/my-test/examPop.vue

+ 1 - 1
src/views/platform/bpmn/my-test/examPop.vue

@@ -113,7 +113,7 @@
                     >{{ `${item.value}` }}</van-radio>
                 </van-radio-group>
                 <!-- 输入框 -->
-                <div v-if="popList[questionsIndex]&&popList[questionsIndex].questionType=='填空题'">
+                <div v-if="popList[questionsIndex] && popList[questionsIndex].questionType=='填空题' && popList[questionsIndex]?.options?.length > 0">
                   <van-field
                       v-for="(item, index) in popList[questionsIndex].options"
                       :key="'tian'+index"