mirror of
https://gitee.com/openharmony-tpc/ImageKnife.git
synced 2026-05-24 17:25:44 +08:00
@@ -1,6 +1,7 @@
|
||||
## 2.2.0-rc.3
|
||||
- 修复错误图绘制完后变成占位图
|
||||
- 提供图片加载成功/失败的事件
|
||||
- 修复懒加载在多次点击出现卡死的问题
|
||||
|
||||
## 2.2.0-rc.2
|
||||
- ImageKnife支持下采样
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user