diff --git a/Assets/ManagedResources/~Lua/Modules/Power/GiveMePowerPanel.lua b/Assets/ManagedResources/~Lua/Modules/Power/GiveMePowerPanel.lua index d0c9b26f77..3949fc0bf1 100644 --- a/Assets/ManagedResources/~Lua/Modules/Power/GiveMePowerPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Power/GiveMePowerPanel.lua @@ -475,9 +475,10 @@ function this.ShowRmdPanel(index) local childName = Util.GetGameObject(childBox, "name"):GetComponent("Text") local childContent = Util.GetGameObject(childBox, "content"):GetComponent("Text") title.text = GetLanguageStrById(data.DescFirst) - local strList = string.split(GetLanguageStrById(data.DescSecond), "#") - childName.text = Language[12429].."\n  "..strList[1]--"      "..strList[1] -- 空格用于调整文字的起始位置 - childContent.text = "\n  "..strList[2] -- 全角空格可以避免自动换行 + local strList = string.split(data.DescSecond, "#") + childName.text = Language[12429].."\n  "..GetLanguageStrById(strList[1])--"      "..strList[1] -- 空格用于调整文字的起始位置 + childContent.text = "\n  "..GetLanguageStrById(strList[2]) -- 全角空格可以避免自动换行 + LogError("tttttt:"..data.Id) for index, heroId in ipairs(data.ItemId) do local heroData = ConfigManager.GetConfigData(ConfigName.HeroConfig, heroId) local node = heroBox.transform:GetChild(index - 1).gameObject