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
于良
2016-07-25 16:16:00 +0800
Commit
b6a178d93a42f90c4ff340c38e1b89375e685b90
1 parent
6e978a09
bug fix
http://jira.yoho.cn:8888/browse/YH-2559
review by 盖剑秋
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
0 deletions
js/community/reducers/home/homeActions.js
js/community/reducers/section/sectionActions.js
js/community/reducers/user/userActions.js
js/community/reducers/userThatNotMe/userThatNotMeActions.js
js/community/reducers/home/homeActions.js
View file @
b6a178d
...
...
@@ -364,6 +364,7 @@ function parseRecommendation(json) {
let
timeagoStr
=
timeago
(
createTime
);
let
isLike
=
item
.
hasPraise
===
'Y'
?
true
:
false
;
let
title
=
item
.
postsTitle
?
decodeURI
(
item
.
postsTitle
)
:
''
;
title
=
title
===
''
?
desc
:
title
;
let
id
=
item
.
id
?
item
.
id
:
0
;
let
post
=
{
...
...
js/community/reducers/section/sectionActions.js
View file @
b6a178d
...
...
@@ -299,6 +299,7 @@ function parseNewPost(json) {
let
timeagoStr
=
timeago
(
createTime
);
let
isLike
=
item
.
hasPraise
===
'Y'
?
true
:
false
;
let
title
=
item
.
postsTitle
?
decodeURI
(
item
.
postsTitle
)
:
''
;
title
=
title
===
''
?
desc
:
title
;
let
id
=
item
.
id
?
item
.
id
:
0
;
let
post
=
{
...
...
js/community/reducers/user/userActions.js
View file @
b6a178d
...
...
@@ -657,6 +657,7 @@ function parseJson(json) {
let
timeagoStr
=
timeago
(
createTime
);
let
isLike
=
item
.
hasPraise
===
'Y'
?
true
:
false
;
let
title
=
item
.
postsTitle
?
decodeURI
(
item
.
postsTitle
)
:
''
;
title
=
title
===
''
?
desc
:
title
;
let
id
=
item
.
id
?
item
.
id
:
0
;
let
post
=
{
...
...
js/community/reducers/userThatNotMe/userThatNotMeActions.js
View file @
b6a178d
...
...
@@ -180,6 +180,7 @@ function parseUserThatNotMePosts(json) {
let
timeagoStr
=
timeago
(
createTime
);
let
isLike
=
item
.
hasPraise
===
'Y'
?
true
:
false
;
let
title
=
item
.
postsTitle
?
decodeURI
(
item
.
postsTitle
)
:
''
;
title
=
title
===
''
?
desc
:
title
;
let
id
=
item
.
id
?
item
.
id
:
0
;
let
post
=
{
...
...
Please
register
or
login
to post a comment