This commit is contained in:
2020-08-07 07:27:09 +08:00
parent 113faa50ce
commit 0fd1912998
21 changed files with 578 additions and 56 deletions

View File

@@ -105,10 +105,10 @@ function _cell.onFinisInitFields()
uiobjs.Table.repositionNow = true
hideHotWheel()
isLoading = false
csSelf:invoke4Lua(
function()
Utl.doCallback(mData.onFinish, csSelf.gameObject)
isLoading = false
-- 再次处理
_cell.refresh()
end,
@@ -121,6 +121,8 @@ function _cell.release()
SetActive(v.gameObject, false)
CLUIOtherObjPool.returnObj(v.gameObject)
end
isLoading = false
fieldsObjs = {}
count = 0
end
@@ -144,7 +146,7 @@ end
function _cell.OnDisable()
if #(fieldsObjs) > 0 then
printe("动态加载的字段没有释放" .. csSelf.name)
printw("动态加载的字段没有释放" .. csSelf.name)
end
end
--------------------------------------------