Pre Merge pull request !267 from zhanghuan633/master

This commit is contained in:
zhanghuan633 2024-05-20 07:31:19 +00:00 committed by Gitee
commit 68bf7a86b8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,7 @@
## 2.2.0-rc.3
- 修复错误图绘制完后变成占位图
- 提供图片加载成功/失败的事件
- 修复懒加载在多次点击出现卡死的问题
## 2.2.0-rc.2
- ImageKnife支持下采样

View File

@ -386,7 +386,9 @@ export struct ImageKnifeComponent {
this.lastSrc = this.imageKnifeOption.loadSrc;
}
this.detachFromLayout = this.request.detachFromLayout;
this.configNecessary(this.request);
if (this.request.loadSrc!=this.lastSrc) {
this.configNecessary(this.request);
}
this.configCacheStrategy(this.request);
this.configDisplay(this.request);
this.configHspContext(this.request);