@@ -39,12 +39,13 @@ export default class TableChart extends Component {
columns = obj.columns
data = obj.data
}
+ let height = detailData.length * 65 + 'px'
return (
<div className='table-charts' style={{ width: '100%', overflowY: 'auto' }}>
<Table
scroll={{ x: '100%' }}
- style={{ height: '320px' }}
+ style={{ height: height, maxHeight: '320px' }}
title={() => SONTITLE_}
pagination={false}
bordered={true}