请问Swiper幻灯片设置图片自动高度的方法
配置项: 在Swiper配置中添加autoHeight: true。 示例代码: var swiper = new Swiper('.swiper-container', { autoHeight: true, // 其他配置项 }); 注意事项:
配置项: 在Swiper配置中添加autoHeight: true。 示例代码: var swiper = new Swiper('.swiper-container', { autoHeight: true, // 其他配置项 }); 注意事项: