Преглед изворни кода

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

leiyasi пре 1 година
родитељ
комит
597e6223e6
1 измењених фајлова са 1 додато и 1 уклоњено
  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);
                 }