guodong 2 年之前
父节点
当前提交
8d85691436
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Login/LoginView.cs

+ 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(); });
             }