Просмотр исходного кода

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

hexiaojie 8 месяцев назад
Родитель
Сommit
a3fb019f11
1 измененных файлов с 4 добавлено и 8 удалено
  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>();
+            }
         }
     }
 }