Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
ios1x
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
ios1x
Commits
9c04c731
Commit
9c04c731
authored
7 years ago
by
houweibin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix error
parent
1af14837
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
KWMOrderVC.m
iCemarose/Class/UI/Mine/KWMOrderVC.m
+9
-9
No files found.
iCemarose/Class/UI/Mine/KWMOrderVC.m
View file @
9c04c731
...
@@ -237,19 +237,19 @@
...
@@ -237,19 +237,19 @@
if
(
paidOrder
&&
targetPage
==
1
){
if
(
paidOrder
&&
targetPage
==
1
){
[
showOrders
insertObject
:
paidOrder
atIndex
:
0
];
[
showOrders
insertObject
:
paidOrder
atIndex
:
0
];
}
}
if
(
showOrders
.
count
<=
50
){
//
if(showOrders.count <= 50){
weakSelf
.
hasNextPage
=
false
;
//
weakSelf.hasNextPage = false;
weakSelf
.
tbvOrder
.
mj_footer
.
hidden
=
YES
;
//
weakSelf.tbvOrder.mj_footer.hidden = YES;
}
else
{
//
}else{
weakSelf
.
hasNextPage
=
true
;
//
weakSelf.hasNextPage = true;
weakSelf
.
tbvOrder
.
mj_footer
.
hidden
=
NO
;
//
weakSelf.tbvOrder.mj_footer.hidden = NO;
}
//
}
if
(
showOrders
.
count
==
0
||
targetPage
==
1
){
if
(
targetPage
==
1
){
[
weakSelf
.
dataList
removeAllObjects
];
[
weakSelf
.
dataList
removeAllObjects
];
[
self
.
expandOrderId
removeAllObjects
];
[
self
.
expandOrderId
removeAllObjects
];
}
}
[
weakSelf
refreshOpenSection
:
showOrders
];
[
weakSelf
refreshOpenSection
:
showOrders
];
[
weakSelf
appendDataList
:
showOrders
setPage
:
1
];
[
weakSelf
appendDataList
:
showOrders
setPage
:
targetPage
];
[
weakSelf
requestProductsApi
];
[
weakSelf
requestProductsApi
];
}
}
}
failure
:^
(
NSURLSessionDataTask
*
task
,
NSError
*
error
)
{
}
failure
:^
(
NSURLSessionDataTask
*
task
,
NSError
*
error
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment