天宫商店点击报错 bug修改

dev_chengFeng
yuanshuai 2022-04-26 10:14:52 +08:00
parent d3a8722b95
commit 92e56472de
2 changed files with 1 additions and 2 deletions

View File

@ -177,7 +177,7 @@ end
function this.GetStatusByItemId(id) function this.GetStatusByItemId(id)
local config = ConfigManager.TryGetConfigDataByKey(ConfigName.ChangingCard,"CardId",id) local config = ConfigManager.TryGetConfigDataByKey(ConfigName.ChangingCard,"CardId",id)
if config then if config then
return this.itemDataList[config.ID].state return this.itemDataList[config.Id].state
end end
return -1 return -1
end end

View File

@ -112,7 +112,6 @@ function this.UpdateWin()
cardData=IncarnationManager.itemDataList[curCardId] cardData=IncarnationManager.itemDataList[curCardId]
curStar=cardData.star curStar=cardData.star
curLevel=cardData.level curLevel=cardData.level
LogBlue("等级:"..curLevel.." 星级:"..curStar)
this.titleText.text=cardData.name this.titleText.text=cardData.name
local propData=IncarnationManager.GetChangeCardProperty(curCardId) local propData=IncarnationManager.GetChangeCardProperty(curCardId)
if type==1 then if type==1 then