修复了补全资料之后tabbar的item 不是赛事和我的
This commit is contained in:
@@ -12,7 +12,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@interface LoginFullInfoPresenter : BaseMvpPresenter
|
@interface LoginFullInfoPresenter : BaseMvpPresenter
|
||||||
|
|
||||||
/// 获取保存的第三方的数据模型
|
/// 获取保存的第三方的数据模型
|
||||||
+ (ThirdUserInfo * __nullable)getThirdUserInfo;
|
- (ThirdUserInfo *)getThirdUserInfo;
|
||||||
|
|
||||||
/// 随机获取昵称
|
/// 随机获取昵称
|
||||||
- (void)randomRequestNick;
|
- (void)randomRequestNick;
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/// 获取保存的第三方的数据模型
|
/// 获取保存的第三方的数据模型
|
||||||
+ (ThirdUserInfo * __nullable)getThirdUserInfo {
|
- (ThirdUserInfo *)getThirdUserInfo {
|
||||||
if ([AccountInfoStorage instance].thirdUserInfo) {
|
if ([AccountInfoStorage instance].thirdUserInfo) {
|
||||||
return [AccountInfoStorage instance].thirdUserInfo;
|
return [AccountInfoStorage instance].thirdUserInfo;
|
||||||
}
|
}
|
||||||
|
@@ -15,6 +15,7 @@
|
|||||||
#import "UIImage+Utils.h"
|
#import "UIImage+Utils.h"
|
||||||
#import "UIButton+EnlargeTouchArea.h"
|
#import "UIButton+EnlargeTouchArea.h"
|
||||||
#import "StatisticsServiceHelper.h"
|
#import "StatisticsServiceHelper.h"
|
||||||
|
#import "AccountInfoStorage.h"
|
||||||
///Model
|
///Model
|
||||||
#import "ThirdUserInfo.h"
|
#import "ThirdUserInfo.h"
|
||||||
///P
|
///P
|
||||||
@@ -203,6 +204,8 @@
|
|||||||
|
|
||||||
- (void)complementInfoSuccess {
|
- (void)complementInfoSuccess {
|
||||||
[StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventLoginRepariSuccess];
|
[StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventLoginRepariSuccess];
|
||||||
|
///需要重新加载一次 ticket 刷新tabbar的item
|
||||||
|
[[AccountInfoStorage instance] saveTicket:nil];
|
||||||
UIViewController *vc = self.presentingViewController;
|
UIViewController *vc = self.presentingViewController;
|
||||||
while (vc.presentingViewController) {
|
while (vc.presentingViewController) {
|
||||||
vc = vc.presentingViewController;
|
vc = vc.presentingViewController;
|
||||||
|
Reference in New Issue
Block a user