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

貢獻者指南