diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index d5f3efeb..60a3c1f9 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -1334,8 +1334,8 @@ 已开课 {{ - (currentPlanItem.score !== 0&& currentPlanItem.score!==-1) - ? currentPlanItem.score.toFixed(2) + (currentPlanItem?.score !== 0&& currentPlanItem?.score!==-1) + ? currentPlanItem.score?.toFixed(2) : "-" }} @@ -2057,9 +2057,9 @@ const columns6 = [ ellipsis: true, customRender: ( text ) => { return( - text.record && text.record.score != 0 && text.record.score != -1 ? + text.record && text.record?.score != 0 && text.record?.score != -1 ?
- {(text.record.score.toFixed(2) || '0.00')} + {(text.record.score?.toFixed(2) || '0.00')}
downPin(text.record)} title="导出评估信息">
: '-'