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
e0a9006e
Commit
e0a9006e
authored
Aug 05, 2022
by
renmanyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:兼容contentVOList不存在此字段的白屏
parent
ee49d1c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/modules/task-center/data-center/components/WholeData.jsx
+4
-3
No files found.
src/modules/task-center/data-center/components/WholeData.jsx
View file @
e0a9006e
/*
* @Author: yuananting
* @Date: 2021-08-05 11:26:25
* @LastEditors:
yuananting
* @LastEditTime: 202
1-08-18 18:27:06
* @LastEditors:
renmanyi
* @LastEditTime: 202
2-08-05 11:55:40
* @Description: 个人学习详情-全部tab页
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
...
...
@@ -39,13 +39,14 @@ function WholeData(props) {
// 渲染阶段信息
function
renderStageInfo
(
item
,
index
)
{
const
{
contentVOList
=
[]}
=
item
return
(
<
div
className=
'stage-info__item'
>
<
span
className=
'stage-name'
>
{
SortConvert
[
index
]
}
、
{
item
.
stageName
}
</
span
>
<
span
className=
'extra-info'
>
(
{
item
.
learnFinishNum
||
0
}
/
{
item
.
learnAllNum
||
item
.
contentVOList
.
length
}
)
(
{
item
.
learnFinishNum
||
0
}
/
{
item
.
learnAllNum
||
contentVOList
.
length
}
)
</
span
>
</
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