使用vue-awesome-swiper,當(dāng)首頁中引入swiper組件,并通過keep-alive進行數(shù)據(jù)緩存。切換路由,到頁面b。返回首頁,swiper自動滾動失效 查看完整描述