Browse Source

Merge remote-tracking branch 'remotes/origin/xiaojie' into douYouTap

hexiaojie 8 months ago
parent
commit
a3fb019f11
1 changed files with 4 additions and 8 deletions
  1. 4 8
      GameClient/Assets/Game/HotUpdate/Controller/LoginController.cs

+ 4 - 8
GameClient/Assets/Game/HotUpdate/Controller/LoginController.cs

@@ -357,14 +357,10 @@ namespace GFGGame
                 await LoginHelper.RegisterRoleInfo(GameGlobal.zoneScene, account, password, name, identityNum, code,
                     phoneNumber);
 
-            // if (errorCode != ErrorCode.ERR_Success)
-            // {
-            //    // ErrorCodeController.Handler(errorCode);
-            // }
-            // else
-            // {
-            //     AlertSystem.Hide();
-            // }
+            if (errorCode == ErrorCode.ERR_Success)
+            {
+                ViewManager.Hide<RoleInfoRegisterView>();
+            }
         }
     }
 }