Browse Source

返回登录处理

guodong 3 years ago
parent
commit
726409fb81
1 changed files with 1 additions and 3 deletions
  1. 1 3
      GameClient/Assets/Game/HotUpdate/Controller/GameController.cs

+ 1 - 3
GameClient/Assets/Game/HotUpdate/Controller/GameController.cs

@@ -136,9 +136,7 @@ namespace GFGGame
             {
                 Logout();
             }
-            ViewManager.Hide(ViewName.ROLE_INFO_VIEW);
-            ViewManager.Hide(ViewName.MAINUI_VIEW);
-            ViewManager.Show<LoginView>();
+            ViewManager.Show<LoginView>(null, null, true);
             if (logout)
             {
                 ViewManager.Show<LoginInputView>();