diff --git a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_FourElementHelpFight.lua b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_FourElementHelpFight.lua index 15cb315ed6..a613d84c76 100644 --- a/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_FourElementHelpFight.lua +++ b/Assets/ManagedResources/~Lua/Modules/GeneralPanel/View/GeneralBigPopup_FourElementHelpFight.lua @@ -144,6 +144,7 @@ function this:RefreshItemData() LogGreen(tostring(data[index])) itemList[go]:OnShow(curIndex,data[index],curType,canHelpPower) end) + this.ScrollView:SetIndex(1) end function this:OnClose() diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_FightReturnLookFourEle.lua b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_FightReturnLookFourEle.lua index f5ce30566d..555003cc32 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_FightReturnLookFourEle.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_FightReturnLookFourEle.lua @@ -90,11 +90,11 @@ function this:SetSingleData(go,data,index) end local btn = Util.GetGameObject(go, "Button") Util.AddOnceClick(btn,function() - NetManager.FightRePlayRequest(4,string.format("%s#%s#%s",waveId,curType,data.firstOrMini), function(msg) + NetManager.FightRePlayRequest(4,string.format("%s#%s#%s",curType,waveId,data.firstOrMini), function(msg) if not msg.fightData then PopupTipPanel.ShowTip(Language[10089]) return - else + else local fightData = BattleManager.GetBattleServerData(msg) UIManager.OpenPanel(UIName.BattlePanel, fightData, BATTLE_TYPE.DAILY_CHALLENGE,function(result) if MonsterCampManager.fourMonsterData[curType].openState ~= 0 then