From 519f06c4c8b1d9f92fa2c327c753fd3c25d78db6 Mon Sep 17 00:00:00 2001 From: heyongqi10 Date: Mon, 18 Aug 2025 23:01:21 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E9=80=8F=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/swiper/swiper.taro.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/packages/swiper/swiper.taro.tsx b/src/packages/swiper/swiper.taro.tsx index bfdd05f8b0..3bca31c93c 100644 --- a/src/packages/swiper/swiper.taro.tsx +++ b/src/packages/swiper/swiper.taro.tsx @@ -141,6 +141,7 @@ export const Swiper = React.forwardRef( autoplay={autoplay || autoPlay} vertical={direction === 'vertical' || vertical} indicatorDots={false} + duration={duration || 500} onChange={(e) => { handleOnChange(e) props.onChange?.(e) From bee4a51041982f48a6c1ab275212eac6c5e5f4ee Mon Sep 17 00:00:00 2001 From: heyongqi10 Date: Tue, 19 Aug 2025 09:49:38 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E7=9B=B4=E6=8E=A5=E5=88=A0?= =?UTF-8?q?=E9=99=A4duration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/swiper/swiper.taro.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/packages/swiper/swiper.taro.tsx b/src/packages/swiper/swiper.taro.tsx index 3bca31c93c..10f01f7715 100644 --- a/src/packages/swiper/swiper.taro.tsx +++ b/src/packages/swiper/swiper.taro.tsx @@ -41,7 +41,6 @@ export const Swiper = React.forwardRef( circular, autoPlay, autoplay, - duration, vertical, direction, defaultValue, @@ -141,7 +140,6 @@ export const Swiper = React.forwardRef( autoplay={autoplay || autoPlay} vertical={direction === 'vertical' || vertical} indicatorDots={false} - duration={duration || 500} onChange={(e) => { handleOnChange(e) props.onChange?.(e)