首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
antd有关table组件的分页、滚动条
antd有关table组件的分页、滚动条
mac
2024-06-06
45
1、想要去掉table组件的分页功能,要加上pagination={false}
<Table pagination={false} />
2、想要在table上加上滚动条,则在组件中加上
style={{overflow: 'auto'}} 或者 scroll={{x:120,y:240}}
x、y分别为横向、纵向的滚动条
转载请注明原文地址: https://mac.8miu.com/read-493703.html
最新回复
(
0
)