antd表格组件嵌套表格 expandedRowRender 为什么出现多余空白列?
代码是这么写的
expandedRowRender = (record, index) => {
let children = JSON.parse(JSON.stringify(record.children));
return <Table columns={this.state.columns2} dataSource={children} pagination={false}/>;
};
onExpand =(ex
原创
2020-11-20 10:25:57 ·
2749 阅读 ·
2 评论