【登录】修复logo为空时显示默认logo的问题
parent
4f28f777b9
commit
b8f9d894d9
|
@ -73,7 +73,7 @@ function this:InitComponent()
|
|||
-- logo
|
||||
this.logo = Util.GetGameObject(this.gameObject, "logo"):GetComponent("Image")
|
||||
this.logoStr = PackageManager.GetLoginPanelLogo()
|
||||
if this.logoStr then
|
||||
if this.logoStr and this.logoStr ~= "" then
|
||||
LoadStreamingTexture(this.spLoader, this.logoStr, function(sp)
|
||||
this.logo.gameObject:SetActive(true)
|
||||
this.logo.sprite = sp
|
||||
|
|
Loading…
Reference in New Issue