From b84d255edd1171191a0239605b6fd91010e8d004 Mon Sep 17 00:00:00 2001 From: puxuan <413323644@qq.com> Date: Mon, 13 Oct 2025 14:20:05 +0800 Subject: [PATCH] fix bug --- lua/app/module/equip/equip_manager.lua | 4 ++-- lua/app/ui/equip/equip_growth_ui.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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