Skip to content

Commit

Permalink
fix(swiper): t-class-prev-image和t-class-next-image 无法动态变化问题修复 (#2540)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaikai authored Jan 12, 2024
1 parent da48df5 commit 9f781dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/swiper/swiper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default class Swiper extends SuperComponent {

this.setData({
navCurrent: current,
current,
});

this.triggerEvent('change', { current, source });
Expand Down

0 comments on commit 9f781dd

Please sign in to comment.