javascript - vue lazy loading plug-in pictures are not updated
phpcn_u1582
phpcn_u1582 2017-06-12 09:20:53
0
2
568

Using these two plug-ins
lazy-load-img
vue-lazy-load-img
When new data replaces the original goodsList, the lazy-loaded pictures remain unchanged. Know how to deal with it

data: { goodsList: [] }
phpcn_u1582
phpcn_u1582

reply all (2)
给我你的怀抱

I have never used this component. I suggest you go to issues to ask questions, https://github.com/lzxb/vue-l...

    phpcn_u1582

    I also used lazy loading of images in my project, but it is not this component. You can refer to the component I used, so that your situation will not happen.
    The images in the project are lazy loaded

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!