diff --git a/suixinbo/TILLiveSDKShow/Live/UserViewManager.m b/suixinbo/TILLiveSDKShow/Live/UserViewManager.m index 55cb8f1..9b96853 100644 --- a/suixinbo/TILLiveSDKShow/Live/UserViewManager.m +++ b/suixinbo/TILLiveSDKShow/Live/UserViewManager.m @@ -276,7 +276,7 @@ - (BOOL)switchToMainView:(NSString *)codeUserId; { return NO; } - if (!_mainCodeUserId || _mainCodeUserId <= 0) + if (!_mainCodeUserId || [_mainCodeUserId intValue] <= 0) { return NO; }