【登录】尝试修复在登录界面无法使用sdk切换账号的问题

dev_chengFeng
gaoxin 2021-06-04 10:47:07 +08:00
parent f708fb6671
commit eda07761fc
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ function this.Initialize()
Log("onSwitchAccountCallback::"..resp)
local result = string.split(resp, "#")
--Util.LogError(debug.traceback("<color=#00ccee>onSwitchAccountCallback:" .. result[1] .. "</color>"))
if LoginManager.IsLogin and tonumber(result[1]) == SDK_RESULT.SUCCESS then
if tonumber(result[1]) == SDK_RESULT.SUCCESS then
ThinkingAnalyticsManager.Track("change_account")
Game.Restart()
end