修复onlyRetrieveFromCache仅磁盘和内存获取资源失效
Signed-off-by: zenggaofeng <zenggaofeng2@h-partners.com>
This commit is contained in:
parent
00f77d9cc5
commit
d7d66d1faa
|
@ -5,6 +5,7 @@
|
|||
- 修复单帧gif图片加载失败
|
||||
- removeRunning删除running队列log设置开关
|
||||
- ImageKnife新增图片宽高自适应功能
|
||||
- 修复onlyRetrieveFromCache属性(仅磁盘和内存获取资源)失效
|
||||
|
||||
## 2.1.2-rc.10
|
||||
- 修复部分gif图片识别成静态图
|
||||
|
|
|
@ -205,6 +205,7 @@ export class RequestManager {
|
|||
this.parseDiskFile2PixelMap(request, cached, onComplete, onError)
|
||||
} else {
|
||||
this.mStage = Stage.SOURCE;
|
||||
this.mStage = request.onlyRetrieveFromCache? Stage.FINISHED : Stage.SOURCE
|
||||
this.searchLoadFrom(this.options, this.mStage, onComplete, onError);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue