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