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
于良
9 years ago
Commit
47e1c580a03d70199fe331d3527eb6aec6f9cc36
1 parent
e3ede367
版块名称不显示bug fix;版块首页不显示公告bug fix; review by 盖剑秋
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
js/community/reducers/home/homeActions.js
js/community/reducers/section/sectionActions.js
js/community/reducers/home/homeActions.js
View file @
47e1c58
...
...
@@ -211,7 +211,7 @@ function parseBNS(json) {
header
:
{
id
:
item
.
forumCode
?
item
.
forumCode
:
0
,
logo
:
item
.
forumPic
?
item
.
forumPic
:
''
,
title
:
item
.
title
?
item
.
titl
e
:
''
,
title
:
item
.
forumName
?
item
.
forumNam
e
:
''
,
post
:
number10KFormater
(
item
.
postsNum
),
comment
:
number10KFormater
(
item
.
commentsNum
),
like
:
number10KFormater
(
item
.
praiseNum
),
...
...
js/community/reducers/section/sectionActions.js
View file @
47e1c58
...
...
@@ -225,7 +225,7 @@ function parseHeader(json) {
let
{
advertList
,
textNoticeList
}
=
resourceList
;
let
uri
=
json
.
forumPic
?
json
.
forumPic
:
''
;
let
title
=
json
.
title
?
json
.
titl
e
:
''
;
let
title
=
json
.
forumName
?
json
.
forumNam
e
:
''
;
let
post
=
number10KFormater
(
json
.
postsNum
);
let
comment
=
number10KFormater
(
json
.
commentsNum
);
let
like
=
number10KFormater
(
json
.
praiseNum
);
...
...
@@ -246,8 +246,8 @@ function parseHeader(json) {
if
(
textNoticeList
.
time
)
{
noticeDuration
=
textNoticeList
.
time
;
};
if
(
noticeList
.
open
)
{
noticeOpen
=
noticeList
.
open
;
if
(
textNoticeList
.
open
)
{
noticeOpen
=
textNoticeList
.
open
;
}
}
...
...
Please
register
or
login
to post a comment