uview-plus 3.4.35 → 3.4.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.4.36(2025-05-28)
2
+ fix: lazy-load图片为空时显示错误
3
+
1
4
  ## 3.4.35(2025-05-28)
2
5
  feat: 进度条支持从右往左加载
3
6
 
@@ -223,6 +223,10 @@
223
223
  if (res.intersectionRatio > 0) {
224
224
  // 懒加载状态改变
225
225
  this.isShow = true;
226
+ // 图片为空时显示错误
227
+ if (!this.image) {
228
+ this.loadError();
229
+ }
226
230
  // 如果图片已经加载,去掉监听,减少性能的消耗
227
231
  this.disconnectObserver('contentObserver');
228
232
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-plus",
3
3
  "name": "uview-plus",
4
4
  "displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙移动组件库。",
5
- "version": "3.4.35",
5
+ "version": "3.4.36",
6
6
  "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
7
7
  "keywords": [
8
8
  "uview",