diff --git a/Assets/ManagedResources/~Lua/Modules/Explore/ExplorePanel.lua b/Assets/ManagedResources/~Lua/Modules/Explore/ExplorePanel.lua index ab16581feb..07a88a548e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Explore/ExplorePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Explore/ExplorePanel.lua @@ -46,7 +46,6 @@ function ExplorePanel:OnShow() this.data = ExploreManager.GetFormationDataByMapId(this.mapData.mapId) if not this.data or #this.data < 1 then SwitchPanel.ClosePanel(UIName.ExplorePanel, function()end) - return end end diff --git a/Assets/ManagedResources/~Lua/Modules/Explore/ExploreRewardPopup.lua b/Assets/ManagedResources/~Lua/Modules/Explore/ExploreRewardPopup.lua index 337fd05375..ea645c0712 100644 --- a/Assets/ManagedResources/~Lua/Modules/Explore/ExploreRewardPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Explore/ExploreRewardPopup.lua @@ -63,7 +63,7 @@ function ExploreRewardPopup:OnShow() end if not ishave then PopupTipPanel.ShowTip("尚未获得探索奖励!") - self:ClosePanel() + this:ClosePanel() return end for i = 1,math.max(#this.data,#this.itemList) do @@ -108,10 +108,6 @@ function this:Refresh(_item,_data) if _data.state > 0 then NetManager.ExplorerMapRewardRequest(0,_data.formationId,function(drop) UIManager.OpenPanel(UIName.RewardItemPopup,drop,1,function() - _data.state = 0 - _data.exploreTime = 0 - _data.mapId = 0 - self:Refresh(_item,_data) end) end) end