摘要:
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 阅读(1413) 评论(0) 推荐(0)
|
摘要:
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 阅读(1413) 评论(0) 推荐(0) |
||