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
于良
8 years ago
Commit
e1c013bbc8f3e332bd6bc104db13a2277d644a8c
1 parent
126bf49b
店铺上新和人气数据请求优化 review by 孙凯
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
js/brandStore/reducers/brandStore/brandStoreActions.js
js/brandStore/reducers/brandStore/brandStoreActions.js
View file @
e1c013b
...
...
@@ -788,7 +788,7 @@ export function getProductListForPersopn(reload=false) {
}
let
order
=
productListForPerson
.
order
;
let
page
=
productListForPerson
.
currentPage
+
1
;
let
page
=
1
;
let
pageSize
=
productListForPerson
.
pageSize
;
let
channel
=
app
.
channel
;
...
...
@@ -800,7 +800,7 @@ export function getProductListForPersopn(reload=false) {
payload
.
endReached
=
payload
.
currentPage
==
payload
.
pageCount
;
if
(
payload
.
currentPage
>
1
)
{
let
oldList
=
productList
.
list
.
toJS
();
let
oldList
=
productList
ForPerson
.
list
.
toJS
();
let
list
=
[...
oldList
,
...
payload
.
list
];
payload
.
list
=
list
;
}
...
...
@@ -850,7 +850,7 @@ export function getProductListForNew(reload=false) {
}
let
order
=
productListForNew
.
order
;
let
page
=
productListForNew
.
currentPage
+
1
;
let
page
=
1
;
let
pageSize
=
productListForNew
.
pageSize
;
let
channel
=
app
.
channel
;
...
...
Please
register
or
login
to post a comment