乾坤宝盒报错修改提交

dev_chengFeng
DESKTOP-98AVA47\Administrator 2021-07-19 10:59:13 +08:00
parent 57fade3e9d
commit 13e6b5e522
1 changed files with 4 additions and 2 deletions

View File

@ -219,8 +219,10 @@ end
--界面销毁时调用(用于子类重写)
function QianKunBoxBuyTenPanel:OnDestroy()
this.spLoader:Destroy()
SubUIManager.Close(this.UpView)
this.UpView = nil
if this.UpView then
SubUIManager.Close(this.UpView)
this.UpView = nil
end
this.views = nil
end