公告用Swiper轮播方式,在某些不需要显示公告的页面进行隐藏,在需要展示公告的页面进行显示时候,公告不能正常轮播,在条件里加入重新设置轮播方法等网上的一些方法仍然不行,最后解决方法:

this.mySwipers.stopAutoplay(); //隐藏时
this.mySwipers.startAutoplay();//显示时

就可以正常、、、

相关文章:

  • 2021-08-22
  • 2021-07-04
  • 2021-11-22
  • 2022-12-23
  • 2021-12-06
  • 2021-09-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
相关资源
相似解决方案