Skip to content

Commit

Permalink
fix(shared): 支付宝 swiper 增加 acceleration 属性,fix #7801 (#7833)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen-jj authored Oct 14, 2020
1 parent b06660a commit 2afe46b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/shared/src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,12 @@ const Swiper = {
bindChange: '',
bindTransition: '',
bindAnimationFinish: '',
...touchEvents
...touchEvents,
...selectEnv({
alipay: {
acceleration: 'false'
}
})
}

const SwiperItem = {
Expand Down

0 comments on commit 2afe46b

Please sign in to comment.