<Table
loading={
loading}
dataSource={
resourceList}
rowSelection={
rowSelection}
columns={
this.state.ShowColumns}
bordered
rowKey={
(record) => record.id}
scroll={
{
x: true }}
expandIcon = {
this.expandIcon}
/>
// 图标展开样式修改
expandIcon = (props) => {
if (props.record.children && props.record.children.length