Эх сурвалжийг харах

引导时掉线,无法返回登录

zhaoyang 3 жил өмнө
parent
commit
4768e4b934

+ 3 - 1
GameClient/Assets/Game/HotUpdate/ETCodes/Hotfix/App/DisConnected/DisConnectedCompnentSystem.cs

@@ -11,8 +11,10 @@ namespace ET
     {
     {
         public override void Destroy(DisConnectedCompnent self)
         public override void Destroy(DisConnectedCompnent self)
         {
         {
-            if(self.showAlert)
+            if (self.showAlert)
             {
             {
+                ViewManager.Hide<GuideView>();
+
                 Alert.Show("服务器连接已断开!")
                 Alert.Show("服务器连接已断开!")
                     .SetLeftButton(true, "返回登录", (obj) =>
                     .SetLeftButton(true, "返回登录", (obj) =>
                     {
                     {