四灵bug 修改

dev_chengFeng
jiaoyangna 2021-03-01 10:19:48 +08:00
parent bc2d95ddec
commit 04a1dacedd
2 changed files with 3 additions and 2 deletions

View File

@ -144,6 +144,7 @@ function this:RefreshItemData()
LogGreen(tostring(data[index])) LogGreen(tostring(data[index]))
itemList[go]:OnShow(curIndex,data[index],curType,canHelpPower) itemList[go]:OnShow(curIndex,data[index],curType,canHelpPower)
end) end)
this.ScrollView:SetIndex(1)
end end
function this:OnClose() function this:OnClose()

View File

@ -90,7 +90,7 @@ function this:SetSingleData(go,data,index)
end end
local btn = Util.GetGameObject(go, "Button") local btn = Util.GetGameObject(go, "Button")
Util.AddOnceClick(btn,function() 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 if not msg.fightData then
PopupTipPanel.ShowTip(Language[10089]) PopupTipPanel.ShowTip(Language[10089])
return return