当使用vue组件swiper时,由于版本的不同,在引用时需要使用不同的方法来返回data
data() { return { swiperOption: { pagination: { el: '.swiper-pagination', type : 'fraction' } } } },
posted on 2019-08-10 14:55 Jing-Z 阅读(113) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 Jing-Z Powered by .NET 8.0 on Kubernetes