mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 15:26:48 +08:00
--fix bug
This commit is contained in:
@@ -431,23 +431,13 @@
|
|||||||
<a-progress
|
<a-progress
|
||||||
:showInfo="false"
|
:showInfo="false"
|
||||||
:percent="
|
:percent="
|
||||||
parseInt(
|
parseInt((item.finishStuNum / item.totalStuNum) * 100)
|
||||||
(item.finishStuNum / item.totalStuNum) * 100
|
|
||||||
)
|
|
||||||
"
|
"
|
||||||
strokeColor="#FFC067"
|
strokeColor="#FFC067"
|
||||||
trailColor="rgba(253, 209, 98, 0.2)"
|
trailColor="rgba(253, 209, 98, 0.2)"
|
||||||
/>
|
/>
|
||||||
<span class="progresstext" style="margin-left: 10px"
|
<span class="progresstext" style="margin-left: 10px"
|
||||||
>{{
|
>{{parseInt((item.finishStuNum / item.totalStuNum) * 100) || 0}}%</span
|
||||||
item.totalStuNum == 0
|
|
||||||
? 0
|
|
||||||
: item.finishStuNum == 0
|
|
||||||
? 0
|
|
||||||
: parseInt(
|
|
||||||
(item.finishStuNum / item.totalStuNum) * 100
|
|
||||||
)
|
|
||||||
}}%</span
|
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user