|
|
|
@ -62,18 +62,28 @@ const TargetList = ({ |
|
|
|
]; |
|
|
|
|
|
|
|
return ( |
|
|
|
<div style={{ flex: 1, overflow: "auto", padding: "0 16px" }}> |
|
|
|
<div |
|
|
|
style={{ |
|
|
|
flex: 1, |
|
|
|
minHeight: 0, |
|
|
|
display: "flex", |
|
|
|
flexDirection: "column", |
|
|
|
padding: "0 16px", |
|
|
|
overflow: "hidden", |
|
|
|
}} |
|
|
|
> |
|
|
|
<div style={{ flex: 1, minHeight: 0, overflowY: "auto" }}> |
|
|
|
<Table |
|
|
|
dataSource={targetListData} |
|
|
|
columns={targetColumns} |
|
|
|
pagination={false} |
|
|
|
size="small" |
|
|
|
style={{ height: "100%" }} |
|
|
|
showHeader={false} |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<Button |
|
|
|
type="primary" |
|
|
|
style={{ marginTop: "16px", width: "100%" }} |
|
|
|
style={{ marginTop: "16px", width: "100%", flexShrink: 0 }} |
|
|
|
onClick={onClickClearAll} |
|
|
|
> |
|
|
|
一键清零 |
|
|
|
|