From 4f9cc3ee4457473751ecd855117fd44202bfb19b Mon Sep 17 00:00:00 2001 From: gaoxin Date: Wed, 22 Sep 2021 20:54:46 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A5=96=E5=8A=B1=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E3=80=91=E9=83=A8=E5=88=86=E7=95=8C=E9=9D=A2=E8=83=A1=E4=B9=B1?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=BB=8F=E9=AA=8C=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua index 557d18685e..5303d47ac0 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua @@ -163,6 +163,7 @@ function RewardItemPopup:OnOpen(...) this.qiJieCondition:SetActive(compShowType == 10)--七界试炼 this.dropGrid:SetActive(false) this.dropGridArena:SetActive(false) + this.lvAndExpGo:SetActive(compShowType == 1) -- 设置背景遮罩的显隐 local isHideBG = args[6] this.btnBack:GetComponent("Image").color = Color.New(0, 0, 0, isHideBG and 0 or 0.8) @@ -183,8 +184,8 @@ function RewardItemPopup:OnOpen(...) elseif compShowType == CompShowType.fourElement then this.ShengYingShow(args[8]) end - --如果没有掉落就return - if not drop or (#drop.itemlist < 1 and #drop.equipId < 1 and #drop.Hero < 1 and #drop.soulEquip < 1 and #drop.pokemon < 1) then + --如果没有掉落就return + if not drop or (#drop.itemlist < 1 and #drop.equipId < 1 and #drop.Hero < 1 and #drop.soulEquip < 1 and #drop.pokemon < 1) then return end