diff --git a/lua/app/module/equip/equip_manager.lua b/lua/app/module/equip/equip_manager.lua index 63172888..58524bad 100644 --- a/lua/app/module/equip/equip_manager.lua +++ b/lua/app/module/equip/equip_manager.lua @@ -4,8 +4,8 @@ function EquipManager:showEquipListUI(heroEntity, part) UIManager:showUI("app/ui/equip/equip_list_ui", {heroEntity = heroEntity, part = part}) end -function EquipManager:showEquipGrowthUI(slotId) - UIManager:showUI("app/ui/equip/equip_growth_ui", {slotId = slotId}) +function EquipManager:showEquipGrowthUI(slotId, part) + UIManager:showUI("app/ui/equip/equip_growth_ui", {slotId = slotId, part = part}) end function EquipManager:showEquipInfoUI(params) diff --git a/lua/app/ui/equip/equip_growth_ui.lua b/lua/app/ui/equip/equip_growth_ui.lua index 71189a57..a3744cc8 100644 --- a/lua/app/ui/equip/equip_growth_ui.lua +++ b/lua/app/ui/equip/equip_growth_ui.lua @@ -16,7 +16,7 @@ end function EquipGrowthUI:ctor(parmas) self.slotId = parmas.slotId - self.equipPart = 1 + self.equipPart = parmas.part or 1 self.page = 1 end