【限时召唤】报错修改

dev_chengFeng
ZhangBiao 2021-09-28 11:23:50 +08:00
parent 94782f7cf4
commit 8ec75376da
1 changed files with 4 additions and 4 deletions

View File

@ -160,15 +160,15 @@ function GeneralPopup:OnShow()
end
function GeneralPopup:OnClose()
for i = 1, #contentScripts do
contentScripts[i].view:OnClose()
for key, value in pairs(contentScripts) do
value.view:OnClose()
end
end
function GeneralPopup:OnDestroy()
this.spLoader:Destroy()
for i = 1, #contentScripts do
contentScripts[i].view:OnDestroy()
for key, value in pairs(contentScripts) do
value.view:OnDestroy()
end
end