Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
3fcdcf60
Commit
3fcdcf60
authored
Aug 19, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:解决个人学习详情字段未返回显示问题
parent
bed3f47f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/modules/task-center/data-center/components/WholeData.jsx
+4
-4
No files found.
src/modules/task-center/data-center/components/WholeData.jsx
View file @
3fcdcf60
...
...
@@ -2,7 +2,7 @@
* @Author: yuananting
* @Date: 2021-08-05 11:26:25
* @LastEditors: yuananting
* @LastEditTime: 2021-08-1
3 19:17:49
* @LastEditTime: 2021-08-1
8 18:27:06
* @Description: 个人学习详情-全部tab页
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
...
...
@@ -45,7 +45,7 @@ function WholeData(props) {
{
SortConvert
[
index
]
}
、
{
item
.
stageName
}
</
span
>
<
span
className=
'extra-info'
>
(
{
item
.
learnFinishNum
}
/
{
item
.
learnAllNum
}
)
(
{
item
.
learnFinishNum
||
0
}
/
{
item
.
learnAllNum
||
item
.
contentVOList
.
length
}
)
</
span
>
</
div
>
);
...
...
@@ -78,10 +78,10 @@ function WholeData(props) {
'0%'
:
'#38B7F3'
,
'100%'
:
'#1A80E2'
,
}
}
percent=
{
learnFinishPercentage
}
percent=
{
learnFinishPercentage
||
0
}
/>
)
}
<
span
className=
'text'
>
{
learnFinishPercentage
===
100
?
'已完成'
:
`${learnFinishPercentage}%`
}
</
span
>
<
span
className=
'text'
>
{
learnFinishPercentage
===
100
?
'已完成'
:
`${learnFinishPercentage
|| 0
}%`
}
</
span
>
</
div
>
</
div
>
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment