mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 03:21:06 +08:00
登录路由守卫组件一级学习进度整数化
This commit is contained in:
@@ -87,7 +87,7 @@ const CourseUserPage = () => {
|
||||
dataIndex: "progress",
|
||||
render: (progress: number) => (
|
||||
<span className={progress >= 10000 ? "c-green" : "c-red"}>
|
||||
{progress / 100}%
|
||||
{Math.floor(progress / 100)}%
|
||||
</span>
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user