modify
This commit is contained in:
@@ -35,7 +35,7 @@ function _cell.show(go, data)
|
||||
SetActive(uiobjs.DownloadProgress.gameObject, false)
|
||||
|
||||
--//TODO:权限判断,如果有权限的可以考虑直接显示图片
|
||||
if DBTextures.hadDownloaded(mData.name) then
|
||||
if DBAttachment.hadDownloaded(mData.name) then
|
||||
SetActive(uiobjs.ButtonDownload, false)
|
||||
SetActive(uiobjs.SpriteRight, true)
|
||||
else
|
||||
@@ -57,7 +57,7 @@ function _cell.download()
|
||||
isDownLoading = true
|
||||
SetActive(uiobjs.ButtonDownload, false)
|
||||
www =
|
||||
DBTextures.download(
|
||||
DBAttachment.download(
|
||||
mData.name,
|
||||
mData.url,
|
||||
function(content, localPath)
|
||||
|
||||
Reference in New Issue
Block a user