优化考试记录分数显示
修改内容: - 移除考试记录中的总分显示 - 只显示实际得分,格式为"XX 分" - 保持颜色标识(通过为绿色,未通过为红色) 原因: - 简化显示,避免总分显示不准确的问题 - 用户更关注实际得分而非总分对比 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
ccc77beef8
commit
2cc0c154dc
@ -466,7 +466,7 @@ const ExamManagement: React.FC = () => {
|
|||||||
<span>-</span>
|
<span>-</span>
|
||||||
) : (
|
) : (
|
||||||
<span style={{ fontSize: 18, fontWeight: 'bold', color: record.is_passed ? '#52c41a' : '#ff4d4f' }}>
|
<span style={{ fontSize: 18, fontWeight: 'bold', color: record.is_passed ? '#52c41a' : '#ff4d4f' }}>
|
||||||
{record.score} / {record.total_score}
|
{record.score} 分
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
</Descriptions.Item>
|
</Descriptions.Item>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user