diff --git a/Assets/ManagedResources/~Lua/View/RewardPanel.lua b/Assets/ManagedResources/~Lua/View/RewardPanel.lua index 645aecce83..337ac1d830 100644 --- a/Assets/ManagedResources/~Lua/View/RewardPanel.lua +++ b/Assets/ManagedResources/~Lua/View/RewardPanel.lua @@ -13,7 +13,7 @@ function RewardPanel:InitComponent() self.spLoader = SpriteLoader.New() self.bg = Util.GetGameObject(self.gameObject,"BG") self.titleIma = Util.GetGameObject(self.bg,"Image") - self.title = Util.GetGameObject(self.titleIma,"Text"):GetComponent("Text") + self.title = Util.GetGameObject(self.bg,"Text"):GetComponent("Text") self.content = Util.GetGameObject(self.bg,"getInfo"):GetComponent("Text") self.grid = Util.GetGameObject(self.bg,"ViewRect/grid") self.rewardMaskBtn = Util.GetGameObject(self.gameObject,"rewardMaskBtn")