mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-07 01:46:46 +08:00
fix:修改必修进度显示问题
This commit is contained in:
@@ -228,7 +228,7 @@
|
||||
font-weight: 500;
|
||||
color: #277aff;
|
||||
margin-left: 10px;color:#677d86;">
|
||||
{{ parseInt(data.compulsoryProgress * 100) }}%
|
||||
{{ parseInt(data.compulsoryProgress?data.compulsoryProgress:0 * 100) }}%
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -251,7 +251,7 @@
|
||||
5: 'rgba(57, 219, 183, 1)',
|
||||
}[parseInt((data.currentReqCnt / data.totalReqCnt * 100) / 20)],
|
||||
}">
|
||||
{{ parseInt(data.currentReqCnt / data.totalReqCnt * 100) }}%
|
||||
{{ parseInt(data.currentReqCnt?data.currentReqCnt:0 / data.totalReqCnt?data.totalReqCnt:0 * 100) }}%
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user