refactor(boutique): update swiper event handling for improved type safety
- Changed the type of the onSwiperChange event handler to UniSwiperChangeEvent for better type checking - Simplified the onSwiperChange function to directly access the current index from the event detail - Updated parseSwiperEventIndex function to handle different event types more effectively
Showing
2 changed files
with
6 additions
and
30 deletions
-
Please register or sign in to post a comment