forked from floraachy/ImageKnife
update imageknife/src/main/ets/components/imageknife/ImageKnifeComponent.ets.
修复手动屏蔽内存缓存不生效的问题 Signed-off-by: haolihi <1252445494@qq.com>
This commit is contained in:
parent
f764b6e02a
commit
ce56842949
|
@ -182,10 +182,8 @@ export struct ImageKnifeComponent {
|
|||
request.retrieveDataFromCache(this.imageKnifeOption.onlyRetrieveFromCache)
|
||||
}
|
||||
|
||||
if (this.imageKnifeOption.isCacheable) {
|
||||
request.skipMemoryCache(!this.imageKnifeOption.isCacheable)
|
||||
}
|
||||
|
||||
request.skipMemoryCache(!this.imageKnifeOption.isCacheable)
|
||||
|
||||
if (this.imageKnifeOption.strategy) {
|
||||
request.diskCacheStrategy(this.imageKnifeOption.strategy)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue