Commit 2a68eed0b4f80a7bec5d47529a7842d83246d927

Authored by zhangxiaowen
1 parent 1b2999a8

no message

CNLiveSettingModule.podspec
... ... @@ -144,7 +144,8 @@ TODO: 网家家-设置模块.
144 144  
145 145 # 工具库
146 146 s.dependency 'CNLiveBusinessTools'
147   -
  147 +
  148 + # 公共类
148 149 s.dependency 'CNLiveCommonClass'
149 150  
150 151 # 切换城市
... ...
CNLiveSettingModule/Classes/Controller/CNLiveSettingController.m
... ... @@ -295,6 +295,7 @@ static const NSInteger timeValue = 1.5;
295 295 }
296 296 return _tableView;
297 297 }
  298 +
298 299 - (UIButton *)logout{
299 300 if(!_logout){
300 301 _logout = [UIButton buttonWithType:UIButtonTypeCustom];
... ... @@ -318,6 +319,7 @@ static const NSInteger timeValue = 1.5;
318 319 [self.navigationController popViewControllerAnimated:YES];
319 320 }
320 321 }
  322 +
321 323 - (void)logoutDidClicked:(UIButton *)btn{
322 324 QMUIAlertAction *sure = [QMUIAlertAction actionWithTitle:@"退出登录" style:QMUIAlertActionStyleDefault handler:^(__kindof QMUIAlertController *aAlertController, QMUIAlertAction *action) {
323 325 [UIApplication sharedApplication].delegate.window.rootViewController = nil;
... ... @@ -395,5 +397,4 @@ static const NSInteger timeValue = 1.5;
395 397 }
396 398 }
397 399  
398   -
399 400 @end
... ...