let img = this.$refs.wrapper.getElementsByTagName("img");
      let count = 0;
      let length = img.length;
      if (length) {
        let timer = setInterval(() => {
          if (count == length) {
            this.scroll.refresh(); //bs提供的刷新的方法,详见官网
            clearInterval(timer);
          } else if (img[count].complete) {
            count++;
          }
        }, 100);
      }

 

相关文章:

  • 2021-06-12
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
  • 2021-11-24
猜你喜欢
  • 2022-12-23
  • 2022-03-04
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案