Skip to content

Commit

Permalink
fix(swiper): 修复缺少ref传递导致dev环境下报错的问题 (#534)
Browse files Browse the repository at this point in the history
`forwardRef` 需要接收第二个参数作为ref,`Swiper` 组件缺少这个参数传递,导致在开发环境下 React 会在 DevTools 中抛出错误

Co-authored-by: ccweng <[email protected]>
  • Loading branch information
cc-weng and ccweng authored Jan 20, 2025
1 parent ab22fcd commit b221e44
Showing 1 changed file with 316 additions and 312 deletions.
Loading

0 comments on commit b221e44

Please sign in to comment.