guodong %!s(int64=3) %!d(string=hai) anos
pai
achega
2861d263be
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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()