bug 点将台卡池预览,再查看四元阵卡池,显示的是点将台卡池

dev_chengFeng
zhangqiang 2020-07-04 17:04:26 +08:00
parent 608558d3cd
commit 9053926e02
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ function HeroPreviewPanel:OnOpen(...)
this.heroGrid.transform.anchoredPosition = Vector2.New(0,0)
this.elementGrid.transform.anchoredPosition = Vector2.New(0,0)
local temp={...}
if temp and temp[1] then
if temp and temp[1] ~= nil then
this.heroScroll:SetActive(temp[1])
this.elementScroll:SetActive(not temp[1])
this.tabBox:SetActive(temp[1])