From 8794bb8d5b5e9f93ddb06cb5e9bc3d22f64d7170 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 7 Nov 2024 18:39:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=A2=E6=8E=88=E8=AF=84=E5=88=86=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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="导出评估信息">
: '-'