<Table
bordered={true}
loading={loading}
columns={columns}
dataSource={tableData}
rowKey="customer_id"
expandedRowRender={record => <p style={{ margin: 0 }}>111</p>}
expandedRowKeys = { expandedRowKeys }
pagination={{
current: pagination.page,
total: pagination.total,
pageSize: pagination.pageSize,
showTotal,
onChange: handlePageChange
如上 expandedRowKeys 初始为空数组 导致展开功能不可用
What is expected?
What is actually happening?
无法正常使用
Environment
Hello @shangwanzheng. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by Need Reproduce
will be closed if no activities in 7 days.
你好 @shangwanzheng, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。