ios
This commit is contained in:
@@ -97,6 +97,7 @@ function TRPLogin:setEventDelegate()
|
||||
formData,
|
||||
function(content, orgs)
|
||||
if content.success then
|
||||
MyUtl.setIsHidePhone(content.result.cover_phoneNo_flag)
|
||||
Prefs.setUserName(formData.phone)
|
||||
Prefs.setUserPsd(formData.password)
|
||||
|
||||
@@ -104,6 +105,7 @@ function TRPLogin:setEventDelegate()
|
||||
if isNilOrEmpty(currGroup) then
|
||||
if #(content.result) == 1 then
|
||||
Prefs.setCurrGroup(Prefs.getUserName(), json.encode(content.result[1]))
|
||||
MyUtl.setIsHidePhone(content.result[1].cover_phoneNo_flag)
|
||||
getPanelAsy("PanelConnect", onLoadedPanel)
|
||||
else
|
||||
---@type _ParamTRPSelectGroup
|
||||
@@ -113,6 +115,7 @@ function TRPLogin:setEventDelegate()
|
||||
getPanelAsy("PanelSelectCompany", onLoadedPanel, d)
|
||||
end
|
||||
else
|
||||
MyUtl.setIsHidePhone(currGroup.cover_phoneNo_flag)
|
||||
getPanelAsy("PanelConnect", onLoadedPanel)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user