time update

dev_chengFeng
jiaoyangna 2020-08-22 16:55:27 +08:00
parent c27d43ba2d
commit f814a80eb4
2 changed files with 10 additions and 9 deletions

View File

@ -97,13 +97,14 @@ function this:OnSortingOrderChange(sortingOrder)
end
function this:OnClose()
if self.localTimer then
self.localTimer:Stop()
self.localTimer = nil
end
end
function this:OnDestroy()
itemsList={}
if self.timer then
self.timer :Stop()
self.timer = nil
end
end
this.refresh = function()

View File

@ -133,13 +133,13 @@ function this:OnSortingOrderChange(sortingOrder)
end
function this:OnClose()
if self.localTimer then
self.localTimer:Stop()
self.localTimer = nil
end
end
function this:OnDestroy()
if self.timer then
self.timer:Stop()
self.timer = nil
end
end
function this.refresh(type)
this:SetTopBar()