Merge commit 'c3408a4802b34ef1b1784f87caa8fca982235453'
This commit is contained in:
commit
7716a43284
@ -134,7 +134,9 @@ Component({
|
||||
view.sHeight = res.height;
|
||||
},
|
||||
fail: (error) => {
|
||||
console.error(`getImageInfo failed, ${JSON.stringify(error)}`);
|
||||
// 如果图片坏了,则直接置空,防止坑爹的 canvas 画崩溃了
|
||||
view.url = "";
|
||||
console.error(`getImageInfo ${view.url} failed, ${JSON.stringify(error)}`);
|
||||
},
|
||||
complete: () => {
|
||||
completeCount++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user