modify
This commit is contained in:
@@ -38,7 +38,7 @@ function _cell.show(go, data)
|
||||
if uiobjs.texture.mainTexture and uiobjs.texture.mainTexture.name == mData.path then
|
||||
else
|
||||
_cell.release()
|
||||
DBTextures.getByUrl(url, _cell.onGetTextue, mData.path)
|
||||
DBAttachment.getByUrl(url, _cell.onGetTextue, mData.path)
|
||||
end
|
||||
|
||||
SetActive(uiobjs.success.gameObject, false)
|
||||
@@ -48,7 +48,7 @@ end
|
||||
function _cell.upload()
|
||||
SetActive(uiobjs.Failed.gameObject, false)
|
||||
www =
|
||||
DBTextures.upload(
|
||||
DBAttachment.upload(
|
||||
mData.path,
|
||||
DBOrder.getUploadPath(),
|
||||
function(content)
|
||||
@@ -107,7 +107,7 @@ end
|
||||
function _cell.uiEventDelegate(go)
|
||||
if go.name == "ButtonDel" then
|
||||
csSelf:cancelInvoke4Lua(_cell.refreshProgress)
|
||||
DBTextures.cancelUpload(mData.path, DBOrder.getUploadPath())
|
||||
DBAttachment.cancelUpload(mData.path, DBOrder.getUploadPath())
|
||||
www = nil
|
||||
Utl.doCallback(mData.onDelete, mData)
|
||||
elseif go.name == "ButtonReload" then
|
||||
|
||||
Reference in New Issue
Block a user