!147 修复onlyRetrieveFromCache仅磁盘和内存获取资源失效

Merge pull request !147 from zgf/master
This commit is contained in:
openharmony_ci 2024-03-27 10:53:42 +00:00 committed by Gitee
commit 2cfbabb3ec
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
- 修复单帧gif图片加载失败
- removeRunning删除running队列log设置开关
- ImageKnife新增图片宽高自适应功能
- 修复onlyRetrieveFromCache属性(仅磁盘和内存获取资源)失效
- 修改拼写错误
## 2.1.2-rc.10

View File

@ -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);
}
}