|
@@ -119,7 +119,8 @@ namespace GFGGame
|
|
try
|
|
try
|
|
{
|
|
{
|
|
var tdsUser = await TDSUser.LoginWithTapTap();
|
|
var tdsUser = await TDSUser.LoginWithTapTap();
|
|
- Log.Debug($"login Success:{tdsUser}");
|
|
|
|
|
|
+ Log.Debug($"tap login Success:{tdsUser}");
|
|
|
|
+ _ui.m_btnTapLogin.visible = false;
|
|
LoginController.LoginTest(tdsUser.ObjectId).Coroutine();
|
|
LoginController.LoginTest(tdsUser.ObjectId).Coroutine();
|
|
}
|
|
}
|
|
catch (Exception e)
|
|
catch (Exception e)
|
|
@@ -140,7 +141,7 @@ namespace GFGGame
|
|
private void UpdateServer(ServerInfo info)
|
|
private void UpdateServer(ServerInfo info)
|
|
{
|
|
{
|
|
//登录成功后更新注销按钮显示
|
|
//登录成功后更新注销按钮显示
|
|
- _ui.m_btnLogout.visible = GameController.CheckLoginCache(false);
|
|
|
|
|
|
+ _ui.m_btnLogout.visible = GameGlobal.zoneScene.GetComponent<AccountInfoComponent>().IsLogin();
|
|
ServerInfosComponent serverInfosComponent = GameGlobal.zoneScene.GetComponent<ServerInfosComponent>();
|
|
ServerInfosComponent serverInfosComponent = GameGlobal.zoneScene.GetComponent<ServerInfosComponent>();
|
|
if (serverInfosComponent.ServerInfoList.Count == 0)
|
|
if (serverInfosComponent.ServerInfoList.Count == 0)
|
|
{
|
|
{
|