Pārlūkot izejas kodu

返回登录处理

guodong 3 gadi atpakaļ
vecāks
revīzija
726409fb81

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