diff --git a/packages/webpack-plugin/lib/runtime/components/react/mpx-swiper/carouse.tsx b/packages/webpack-plugin/lib/runtime/components/react/mpx-swiper/carouse.tsx index f52aac189..af077474c 100644 --- a/packages/webpack-plugin/lib/runtime/components/react/mpx-swiper/carouse.tsx +++ b/packages/webpack-plugin/lib/runtime/components/react/mpx-swiper/carouse.tsx @@ -483,8 +483,8 @@ const _Carouse = forwardRef, Carouse const pages: Array | ReactNode = renderPages() // const strStyle: string = 'container_' + state.dir // const eventProps = props.innerProps || {} - const layoutStyle = dir === 'x' ? { width: defaultWidth, height: defaultHeight } : { width: defaultWidth } - return ( + // const layoutStyle = dir === 'x' ? { width: defaultWidth, height: defaultHeight } : { width: defaultWidth } + return ( {renderScrollView(pages)} {props.showsPagination && renderPagination()} )