|
修改云端 编号 为 iid 调试 见截图。 有图出来, 但不是 所需图。
====
图的产生方法(remotedb.js):
改id 无效 图
function fnCacheImage(datas, index) {
if (!index) {
index = 0;
}
if (datas.length <= index) {
return;
}
if (!datas[index].thumbnail) {
return;
}
api.imageCache({
url: datas[index].thumbnail.url
}, function(ret, err) {
$api.byId('img_' + datas[index].id).src = ret.url;
fnCacheImage(datas, index + 1);
});
};
|
|