From b8f9d894d92833c1260df6ef13eb5406f1cf88ee Mon Sep 17 00:00:00 2001 From: gaoxin Date: Wed, 16 Jun 2021 20:38:42 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=99=BB=E5=BD=95=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dlogo=E4=B8=BA=E7=A9=BA=E6=97=B6=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=BB=98=E8=AE=A4logo=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua index 71348b4411..5468afe6f7 100644 --- a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua @@ -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