--fix bug

This commit is contained in:
yuping
2023-03-28 13:45:33 +08:00
parent 684cd0edb4
commit 0d02dd1f04
2 changed files with 6 additions and 6 deletions

View File

@@ -193,7 +193,7 @@
<a-progress <a-progress
type="dashboard" type="dashboard"
gapDegree="0" gapDegree="0"
:percent=" chapterOverviewList[choosedStageIndex]?.completeCourseRatio || 0 " :percent=" fixDoublePer(chapterOverviewList[choosedStageIndex]?.completeCourseRatio || 0) "
:width="140" :width="140"
/> />
<div class="protext">课程完成率</div> <div class="protext">课程完成率</div>
@@ -202,7 +202,7 @@
<a-progress <a-progress
type="dashboard" type="dashboard"
gapDegree="0" gapDegree="0"
:percent="chapterOverviewList[choosedStageIndex]?.completeExamRatio || 0" :percent="fixDoublePer(chapterOverviewList[choosedStageIndex]?.completeExamRatio || 0)"
:width="140" :width="140"
/> />
<div class="protext">考试通过率</div> <div class="protext">考试通过率</div>
@@ -211,7 +211,7 @@
<a-progress <a-progress
type="dashboard" type="dashboard"
gapDegree="0" gapDegree="0"
:percent="chapterOverviewList[choosedStageIndex]?.completeRatio || 0" :percent="fixDoublePer(chapterOverviewList[choosedStageIndex]?.completeRatio || 0)"
:width="140" :width="140"
/> />
<div class="protext">作业完成率</div> <div class="protext">作业完成率</div>

View File

@@ -390,7 +390,7 @@
type="dashboard" type="dashboard"
gapDegree="0" gapDegree="0"
:percent=" :percent="
stageOverviewList[choosedStageIndex]?.completeCourseRatio || 0 fixDoublePer( stageOverviewList[choosedStageIndex]?.completeCourseRatio || 0)
" "
:width="140" :width="140"
/> />
@@ -401,7 +401,7 @@
type="dashboard" type="dashboard"
gapDegree="0" gapDegree="0"
:percent=" :percent="
stageOverviewList[choosedStageIndex]?.completeExamRatio || 0 fixDoublePer(stageOverviewList[choosedStageIndex]?.completeExamRatio || 0)
" "
:width="140" :width="140"
/> />
@@ -411,7 +411,7 @@
<a-progress <a-progress
type="dashboard" type="dashboard"
gapDegree="0" gapDegree="0"
:percent="stageOverviewList[choosedStageIndex]?.completeRatio || 0" :percent="fixDoublePer(stageOverviewList[choosedStageIndex]?.completeRatio || 0)"
:width="140" :width="140"
/> />
<div class="protext">作业完成率</div> <div class="protext">作业完成率</div>