修复懒加载在多次点击出现卡死的问题
Signed-off-by: 张欢 <zhanghuan165@h-partners.com>
This commit is contained in:
parent
83e76dcc08
commit
6d43923279
|
@ -1,6 +1,7 @@
|
||||||
## 2.2.0-rc.3
|
## 2.2.0-rc.3
|
||||||
- 修复错误图绘制完后变成占位图
|
- 修复错误图绘制完后变成占位图
|
||||||
- 提供图片加载成功/失败的事件
|
- 提供图片加载成功/失败的事件
|
||||||
|
- 修复懒加载在多次点击出现卡死的问题
|
||||||
|
|
||||||
## 2.2.0-rc.2
|
## 2.2.0-rc.2
|
||||||
- ImageKnife支持下采样
|
- ImageKnife支持下采样
|
||||||
|
|
|
@ -386,7 +386,9 @@ export struct ImageKnifeComponent {
|
||||||
this.lastSrc = this.imageKnifeOption.loadSrc;
|
this.lastSrc = this.imageKnifeOption.loadSrc;
|
||||||
}
|
}
|
||||||
this.detachFromLayout = this.request.detachFromLayout;
|
this.detachFromLayout = this.request.detachFromLayout;
|
||||||
this.configNecessary(this.request);
|
if (this.request.loadSrc!=this.lastSrc) {
|
||||||
|
this.configNecessary(this.request);
|
||||||
|
}
|
||||||
this.configCacheStrategy(this.request);
|
this.configCacheStrategy(this.request);
|
||||||
this.configDisplay(this.request);
|
this.configDisplay(this.request);
|
||||||
this.configHspContext(this.request);
|
this.configHspContext(this.request);
|
||||||
|
|
Loading…
Reference in New Issue