diff --git a/lua/app/ui/hero/hero_detail_ui.lua b/lua/app/ui/hero/hero_detail_ui.lua index 23c1d6f5..bfc4472d 100644 --- a/lua/app/ui/hero/hero_detail_ui.lua +++ b/lua/app/ui/hero/hero_detail_ui.lua @@ -256,7 +256,7 @@ function HeroDetailUI:showskinInfo() if not self.compSkin then self.skinInfo:initPrefabHelper() self.skinInfo:genAllChildren() - self.compSkin = self.skinInfo:addLuaComponent(COMP_Skin) + self.compSkin = self.skinInfo:addLuaComponent(COMP_SKIN) self.compSkin:setUI(self) end