Commit 97161d77 authored by Facius's avatar Facius

考试页面报错提示

parent 73c6ea18
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
<!-- <template v-if="isStart==true && currentItem"> --> <!-- <template v-if="isStart==true && currentItem"> -->
<view class="bottom-padding" v-if="currentItem"> <view class="bottom-padding" v-if="currentItem">
<view class="title-view"> <view class="title-view">
<view :class="['title-text', {'radio': currentItem.question.answerType == 1}]"> <view :class="['title-text', {'radio': currentItem.question ? currentItem.question.answerType == 1 : true}]">
<text>{{ titleText[Math.max(0, currentItem.question.answerType - 1)] }}</text> <text>{{ titleText[Math.max(0, currentItem.question ? currentItem.question.answerType - 1 : 0)] }}</text>
</view> </view>
<view class="title-right-view"> <view class="title-right-view">
<image class="timeIcon" :src="time1Image" mode=""></image> <image class="timeIcon" :src="time1Image" mode=""></image>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment