guodong 2 жил өмнө
parent
commit
8d85691436

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

@@ -121,6 +121,7 @@ namespace GFGGame
 
         private void OnPlatformInitet(EventContext context)
         {
+            ViewManager.Hide<ModalStatusView>();
             var success = (bool)context.data;
             Debug.Log($"InitPlatform success {success}");
             _ui.m_btnTapLogin.visible = QDManager.IsTaptap;
@@ -131,7 +132,6 @@ namespace GFGGame
             }
             else
             {
-                ViewManager.Hide<ModalStatusView>();
                 AlertSystem.Show("初始化平台sdk失败!")
                 .SetRightButton(true, "重试", (t) => { QDManager.InitPlatform(); });
             }