【首充收缩框】需要每次登陆后展开,当前是打开主城时展开

dev_chengFeng
gaoxin 2021-12-27 12:05:43 +08:00
parent 89f8af19c4
commit dc431e3f4d
2 changed files with 5 additions and 2 deletions

View File

@ -699,6 +699,8 @@ function this.ExecuteLoading()
function() -- 登录请求最终接口,所有请求放在此接口之前
-- 登录成功确认
NetManager.LoginConfimRequest()
-- 登录时初始化主界面竖条显示为打开状态
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",1)
if AppConst.isGuide then
if GuideManager.GetCurId(GuideType.Force) == 1 and PlayerManager.nickName == tostring(PlayerManager.uid) and PlayerManager.level == 1 then
-- 新的引导

View File

@ -1493,7 +1493,8 @@ function this:OnClose()
PatFaceManager.isLogin = false
FixedUpdateBeat:Remove(this.OnUpdate, self)
addUpDateNum = addUpDateNum - 1
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",1)
-- 关闭界面时,关闭竖条显示
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting", 0)
for k,v in ipairs(activitys) do
if v.RpType > 0 then