|
@@ -102,7 +102,6 @@ namespace GFGGame
|
|
|
{
|
|
|
OnClickBtnStart();
|
|
|
}
|
|
|
- _ui.m_btnLogout.visible = GameController.CheckLoginCache(false);
|
|
|
if (!_ui.m_btnLogout.visible)
|
|
|
{
|
|
|
ViewManager.Show<LoginInputView>();
|
|
@@ -140,6 +139,8 @@ namespace GFGGame
|
|
|
|
|
|
private void UpdateServer(ServerInfo info)
|
|
|
{
|
|
|
+ //登录成功后更新注销按钮显示
|
|
|
+ _ui.m_btnLogout.visible = GameController.CheckLoginCache(false);
|
|
|
ServerInfosComponent serverInfosComponent = GameGlobal.zoneScene.GetComponent<ServerInfosComponent>();
|
|
|
if (serverInfosComponent.ServerInfoList.Count == 0)
|
|
|
{
|