登陆界面复制账号
This commit is contained in:
parent
1c89ec147b
commit
7aa6dad65d
@ -49,7 +49,12 @@ function LoginUI:onLoadRootComplete()
|
||||
copyTx:setText(I18N:getGlobalText(I18N.GlobalConst.CLICK_COPY_ACOUNT_DESC))
|
||||
copyTx:setVisible(true)
|
||||
copyTx:addClickListener(function()
|
||||
GFunc.copyStr(distinctId)
|
||||
local acountInfo = LocalData:getAccountInfo()
|
||||
local str = acountInfo and acountInfo.id
|
||||
if not str or str == "" then
|
||||
str = distinctId
|
||||
end
|
||||
GFunc.copyStr(str)
|
||||
end)
|
||||
|
||||
ModuleManager.LoginManager:resetServerListStartTime()
|
||||
@ -62,9 +67,6 @@ function LoginUI:onLoadRootComplete()
|
||||
self:refreshServerList(serverList)
|
||||
ModuleManager.LoginManager:saveAuthArgs(false)
|
||||
ModuleManager.LoginManager:initSocket()
|
||||
|
||||
local info = LocalData:getLastLoginInfo()
|
||||
BIReport:postAccountLoginClick(info.type)
|
||||
end)
|
||||
ModuleManager.LoginManager:getServerList()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user