Open
Description
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
当设置 defaultColsNumber 等于控件数量时,columns 数组的最后一个元素无法被展示出来
📷 复现步骤
🏞 期望结果
💻 复现代码
import { ProTable } from "@ant-design/pro-components";
function App() {
return (
<ProTable
columns={[
{
title: "name",
dataIndex: "name",
},
{
title: "age",
dataIndex: "age",
},
{
title: "address",
dataIndex: "address",
},
{
title: "sex",
dataIndex: "sex",
},
{
title: "weight",
dataIndex: "weight",
},
]}
search={{ defaultColsNumber: 6 }}
/>
);
}
export default App;
© 版本信息
- ProComponents 版本: 2.7.10
- 浏览器环境: chrome
- 开发环境 : windows
🚑 其他信息
Metadata
Assignees
Labels
No labels