Browse Source

添加好友界面UpdateScene的关闭判断

leiyasi 1 year ago
parent
commit
597e6223e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Friend/FriendView.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Friend/FriendView.cs

@@ -274,7 +274,7 @@ namespace GFGGame
                 _friendRoleId = FriendDataManager.Instance.FriendDatas[index];
 
                 OtherRoleInfoDetailData roleInfoDetail = await RoleInfoSProxy.ReqOtherRoleDetailInfo(_friendRoleId);
-                if (roleInfoDetail != null)
+                if (isShowing && roleInfoDetail != null)
                 {
                     UpdateScene(roleInfoDetail.customSuitData);
                 }