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
1fe2f360
Commit
1fe2f360
authored
Aug 02, 2017
by
lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
c5d6da09
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
BUYClient+FilterSoldout.m
iCemarose/Class/Classify/BUYClient+FilterSoldout.m
+1
-1
KWMMineVC.m
iCemarose/Class/UI/Mine/KWMMineVC.m
+1
-0
No files found.
iCemarose/Class/Classify/BUYClient+FilterSoldout.m
View file @
1fe2f360
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
id
completion
=
^
(
NSArray
<
BUYProduct
*>
*
_Nullable
products
,
NSUInteger
page
,
BOOL
reachedEnd
,
NSError
*
_Nullable
error
){
id
completion
=
^
(
NSArray
<
BUYProduct
*>
*
_Nullable
products
,
NSUInteger
page
,
BOOL
reachedEnd
,
NSError
*
_Nullable
error
){
NSArray
*
ps
=
[
products
rx_filterWithBlock
:
^
BOOL
(
BUYProduct
*
each
)
{
NSArray
*
ps
=
[
products
rx_filterWithBlock
:
^
BOOL
(
BUYProduct
*
each
)
{
if
([
each
.
tags
containsObject
:
@"small pic"
])
{
if
([
each
.
tags
containsObject
:
@"small pic"
])
{
return
[[[[
KWMUserDao
shareDao
]
customer
]
tags
]
containsString
:
@"Business"
]
||
[[[
KWMUserDao
shareDao
]
tags
]
containsObject
:
@"Staff"
];
return
[[[
KWMUserDao
shareDao
]
tags
]
containsObject
:
@"Business"
]
||
[[[
KWMUserDao
shareDao
]
tags
]
containsObject
:
@"Staff"
];
}
}
return
each
.
availableValue
;
return
each
.
availableValue
;
}];
}];
...
...
iCemarose/Class/UI/Mine/KWMMineVC.m
View file @
1fe2f360
...
@@ -156,6 +156,7 @@
...
@@ -156,6 +156,7 @@
-
(
void
)
refreshLogout
{
-
(
void
)
refreshLogout
{
[
_user
logout
];
[
_user
logout
];
[[
KWMUserDao
shareDao
]
setTags
:
nil
];
[
self
showToast
:
@"已成功下线"
];
[
self
showToast
:
@"已成功下线"
];
_vTitle
.
lbUserName
.
text
=
@"未登录"
;
_vTitle
.
lbUserName
.
text
=
@"未登录"
;
[
self
.
btnLogin
setTitle
:
@"登录"
forState
:
UIControlStateNormal
];
[
self
.
btnLogin
setTitle
:
@"登录"
forState
:
UIControlStateNormal
];
...
...
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