ant-design/ant-design-mobile

src/components/swiper/swiper.tsx 第362行 width: `${startIndex * 100}%`, 在垂直的情况下应该改为 height: `${startIndex * 100}%`

已关闭

#6,567 创建于 2024年3月7日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (2,313 个派生)batch import
bughelp wanted

仓库指标

星标
 (11,238 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Version of antd-mobile

v5.34.0

Operating system and its version

No response

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

src/components/swiper/swiper.tsx 第362行 width: ${startIndex * 100}%, 在direction='vertical'的情况下应该改为 height: ${startIndex * 100}%

Relevant log output

No response

贡献者指南