Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈林
7 years ago
Commit
277a990ddd5646cf4ef215be406d96edf42c5084
1 parent
782f6b3c
增加接口无数据时保护。review by 孙凯。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
js/alliance/components/TalentRank.js
js/alliance/components/TalentRank.js
View file @
277a990
...
...
@@ -66,11 +66,11 @@ class TalentRank extends Component {
<
RankBody
monthRank
=
{
true
}
fetchNextPage
=
{
this
.
_fetchNextPage
}
dataSource
=
{
monthRankData
.
get
(
'rankList'
).
get
(
'list'
)
}
dataSource
=
{
(
monthRankData
&&
monthRankData
.
get
(
'rankList'
))
?
monthRankData
.
get
(
'rankList'
).
get
(
'list'
)
:
[]
}
style
=
{
styles
.
container
}
/
>
<
RankBody
fetchNextPage
=
{
this
.
_fetchNextPage
}
dataSource
=
{
totalRankData
.
get
(
'rankList'
).
get
(
'list'
)
}
dataSource
=
{
(
totalRankData
&&
totalRankData
.
get
(
'rankList'
))
?
totalRankData
.
get
(
'rankList'
).
get
(
'list'
)
:
[]
}
style
=
{
styles
.
container
}
/
>
<
/ScrollView
>
<
/View
>
...
...
Please
register
or
login
to post a comment