diff --git a/packages/taro-components/types/Swiper.d.ts b/packages/taro-components/types/Swiper.d.ts index 59d35a142595..cd79df7af9f1 100644 --- a/packages/taro-components/types/Swiper.d.ts +++ b/packages/taro-components/types/Swiper.d.ts @@ -124,7 +124,7 @@ interface SwiperItemProps extends StandardProps { /** * 该 swiper-item 的标识符 */ - itemId: string + itemId?: string } declare const SwiperItem: ComponentType