hilongjw / vue-lazyload

A Vue.js plugin for lazyload your Image or Component in your application.
http://hilongjw.github.io/vue-lazyload/
MIT License
7.99k stars 865 forks source link

只有界面滚动才会触发 #494

Open wusuzi opened 2 years ago

wusuzi commented 2 years ago

当我重复进到界面时候 图片会不显示

xujintai123 commented 1 year ago

设置observer试下;

Vue.use(VueLazyload, {
    observer: true,
});
chenweihuan commented 1 year ago

IntersectionObserver 有兼容问题,ios12.1及以下不支持。
而且observer: true配置有降级逻辑,那么就导致了不同版本有着不同表现的问题。

加个immediate: true