Commit 1fe2f360 by lee

u

parent c5d6da09
......@@ -20,7 +20,7 @@
id completion = ^(NSArray<BUYProduct *> * _Nullable products, NSUInteger page, BOOL reachedEnd, NSError * _Nullable error){
NSArray *ps = [products rx_filterWithBlock:^BOOL(BUYProduct *each) {
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;
}];
......
......@@ -156,6 +156,7 @@
- (void)refreshLogout{
[_user logout];
[[KWMUserDao shareDao] setTags:nil];
[self showToast:@"已成功下线"];
_vTitle.lbUserName.text = @"未登录";
[self.btnLogin setTitle:@"登录" forState:UIControlStateNormal];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment