in src/main/resources/static/components/resource/AcsResources.tsx [174:201]
render() {
const colorBgContainer = theme.defaultConfig.token.colorBgBase
return (
<Layout style={{padding: '0 24px'}}>
{this.renderBreadcrumb()}
<Layout.Content style={{padding: "12px 0px", margin: 0, height: "100%", background: colorBgContainer}}>
<div style={{height: "100%", overflowY: "scroll"}}>
<Table size={"small"} style={{maxHeight: "100%"}}
loading={this.state.loading}
columns={this.getColumns()}
dataSource={this.getDataRows()}
rowSelection={{
type: "checkbox"
}}
pagination={{
pageSize: this.pageSize,
total: this.state.total,
defaultCurrent: this.state.pageNum,
onChange: (pageIndex, pageSize) => {
this.loadResources(this.state.regionId, pageIndex, pageSize)
}
}}
/>
</div>
</Layout.Content>
</Layout>
)
}