|
@@ -23,7 +23,7 @@
|
|
|
<text class="two" v-else>打卡进度超过了{{ dayExamDetail.recordPercentage || '0%' }}的学员</text>
|
|
|
</view>
|
|
|
<view class="print_right">
|
|
|
- <text class="nums">{{ dayExamDetail.recordCount }}</text>天
|
|
|
+ <text class="nums">{{ dayExamDetail.recordCount || 0 }}</text>天
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="middle_line">
|
|
@@ -140,7 +140,7 @@ export default {
|
|
|
method: 'get',
|
|
|
}).then((res) => {
|
|
|
if (res.data.code == 200) {
|
|
|
- this.dayExamDetail = res.data.data || {}
|
|
|
+ this.dayExamDetail = res.data && res.data.data || {}
|
|
|
}
|
|
|
})
|
|
|
},
|