Commit e0af2891 authored by 周宏民's avatar 周宏民

fix: 优化数据滚动

parent 5f166e32
......@@ -88,7 +88,7 @@ const DataCarousel = ({
}
: false
}
height={height}
height={height + 2} // 加2是解决第二页顶部有少量显示的问题
loop
direction="vertical"
onSlideChange={(e) => {}}
......@@ -115,7 +115,9 @@ const DataCarousel = ({
) : (
<div style={{ height: gap }}></div>
)
) : null}
) : (
<div style={{ height: '2px' }}></div>
)}
</div>
))}
</SwiperSlide>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment