博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年12月6日

摘要: componentWillUnmount() { if (this.swiper) { // 销毁swiper this.swiper.destroy() } } componentDidUpdate(){ if(this.swiper){ this.swiper.slideTo(0, 0) thi 阅读全文

posted @ 2018-12-06 11:56 Hhuizi 阅读(1359) 评论(0) 推荐(0) 编辑