diff --git a/lua/app/ui/tips/hero_fragment_tips.lua b/lua/app/ui/tips/hero_fragment_tips.lua index a500f2cb..29103355 100644 --- a/lua/app/ui/tips/hero_fragment_tips.lua +++ b/lua/app/ui/tips/hero_fragment_tips.lua @@ -69,7 +69,7 @@ function HeroFragmentTips:onLoadRootComplete() end) uiMap["hero_fragment_tips.title_bg_img.card"]:setSprite(GConst.ATLAS_PATH.ICON_ITEM, cfg.icon) uiMap["hero_fragment_tips.title_bg_img.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.HERO_CARD_TIPS_DESC)) - uiMap["hero_fragment_tips.title_bg_img.title_text"]:setText(I18N:getText("item", cfg.id, "name")) + uiMap["hero_fragment_tips.title_bg_img.title_text"]:setText(I18N:getText("item", self.itemId, "name")) uiMap["hero_fragment_tips.title_bg_img.close_btn"]:addClickListener(function() self:closeUI() end)