From ed1cf199a2d852c6b071e1c6780a254e449da49d Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Wed, 30 Jun 2021 11:50:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A5=9E=E5=B0=86=E6=9D=A5=E6=BA=90=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Popup/RewardItemSingleShowPopup.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua index ff4ba67fce..618be49372 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua @@ -323,10 +323,10 @@ function RewardItemSingleShowPopup:OnShow() SetTextVerTial(this.posText.gameObject,Vector3.New(64,21,0),"MiddleLeft") local jumpDataList = heroConfig.Jump for i = 1, #jumpDataList do - if not RECHARGEABLE and (jumpDataList[i] == JumpType.firstRecharge or jumpDataList[i] == JumpType.ZhiZunJiangShi) then--(是否开启充值) + if not RECHARGEABLE and (JumpConfig[jumpDataList[i]].Type == JumpType.firstRecharge or JumpConfig[jumpDataList[i]].Type == JumpType.ZhiZunJiangShi) then--(是否开启充值) else local isShow = true - if jumpDataList[i] == JumpType.firstRecharge then + if JumpConfig[jumpDataList[i]].Type == JumpType.firstRecharge then local id = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.FirstRecharge) if id and id > 0 then local configs = ConfigManager.GetAllConfigsDataByKey(ConfigName.ActivityRewardConfig,"ActivityId",id) @@ -344,7 +344,7 @@ function RewardItemSingleShowPopup:OnShow() else isShow = false end - elseif jumpDataList[i] == JumpType.ZhiZunJiangShi then + elseif JumpConfig[jumpDataList[i]].Type == JumpType.ZhiZunJiangShi then local id = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.SupremeHero) if id and id > 0 then if ActivityGiftManager.GetRewardState(42)~=3 then