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
Plain Diff
Browse Files
Authored by
于良
9 years ago
Commit
4dca464b7aac5242754d9a4e1bf5608fd79e3818
2 parents
c45bbc4e
8299d397
Merge branch 'local' into develop
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
js/community/components/user/User.js
js/community/components/user/User.js
View file @
4dca464
...
...
@@ -326,13 +326,23 @@ export default class User extends React.Component {
userInfo
:
userInfo
.
toArray
(),
list
:
list
.
toArray
(),
};
let
endReachedText
=
''
;
let
endReachedText
=
'暂无更多'
;
if
(
this
.
currentPage
==
0
)
{
endReachedText
=
'你还没有发布的帖子'
let
items
=
list
.
get
(
0
).
get
(
'posts'
);
if
(
items
.
size
==
0
)
{
endReachedText
=
'你还没有发布的帖子'
;
}
}
else
if
(
this
.
currentPage
==
1
)
{
endReachedText
=
'你还没有赞过的帖子'
let
items
=
list
.
get
(
0
).
get
(
'like'
);
if
(
items
.
size
==
0
)
{
endReachedText
=
'你还没有赞过的帖子'
;
}
}
else
if
(
this
.
currentPage
==
2
)
{
endReachedText
=
'你还没有回复过的帖子'
let
items
=
list
.
get
(
0
).
get
(
'reply'
);
if
(
items
.
size
==
0
)
{
endReachedText
=
'你还没有回复过的帖子'
;
}
}
return
(
...
...
Please
register
or
login
to post a comment