【优化】删除一些log,修复一些合并代码产生的错误
parent
73f476a4e8
commit
d84db1977d
|
@ -76,7 +76,7 @@ function this.Close(sub)
|
|||
sub.lspLoader = nil
|
||||
end
|
||||
resMgr:UnLoadAsset(sub.assetName)
|
||||
LogError("sub UI close: "..sub.assetName)
|
||||
-- LogError("sub UI close: "..sub.assetName)
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -741,7 +741,7 @@ function UIManager.DelayDestroyPanel(panel)
|
|||
end
|
||||
|
||||
function UIManager.DestroyPanel(panel)
|
||||
LogError("Panel Destroy: "..panel.uiConfig.assetName)
|
||||
-- LogError("Panel Destroy: "..panel.uiConfig.assetName)
|
||||
panel:DestroyUI()
|
||||
GameObject.Destroy(panel.gameObject)
|
||||
resMgr:UnLoadAsset(panel.uiConfig.assetName)
|
||||
|
|
|
@ -66,7 +66,7 @@ function ServerListSelectPanel:SetServerList()
|
|||
end
|
||||
for idx, serverInfo in ipairs(self.context.serverList) do
|
||||
if serverInfo.state > 0 then
|
||||
local serverItem = ServerListItem.create(self.serverPrototype, self.serverContent.transform)
|
||||
local serverItem = ServerListItem.create(self, self.serverPrototype, self.serverContent.transform)
|
||||
local index = table.indexof(self.context.myServerList, serverInfo.server_id)
|
||||
serverItem:SetValue(serverInfo, index)
|
||||
serverItem:SetVisible(true)
|
||||
|
|
|
@ -42,10 +42,6 @@ function this.RechargeSuccessOrder(msg)
|
|||
end
|
||||
|
||||
function this.Pay(id, func)
|
||||
if true then
|
||||
PopupTipPanel.ShowTip("暂不支持付费")
|
||||
return
|
||||
end
|
||||
if not func then
|
||||
func = function()end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue