Browse Source

登录优化

guodong 3 năm trước cách đây
mục cha
commit
2861d263be
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      GameClient/Assets/Game/HotUpdate/Views/Login/LoginView.cs

+ 5 - 1
GameClient/Assets/Game/HotUpdate/Views/Login/LoginView.cs

@@ -67,7 +67,11 @@ namespace GFGGame
 
             ServerInfo recentlyServerInfo = serverInfosComponent.recentlyServerInfo;
             UpdateServer(recentlyServerInfo);
-            OnClickBtnStart();
+            //尝试自动登录
+            if (serverInfosComponent.ServerInfoList.Count <= 0)
+            {
+                OnClickBtnStart();
+            }
         }
 
         protected override void OnHide()