Commit eddaabfa by zhaochengxiang

热力图调整

parent 514a0658
...@@ -39,7 +39,7 @@ class Thermodynamic extends React.Component { ...@@ -39,7 +39,7 @@ class Thermodynamic extends React.Component {
return ( return (
<div ref={ref => this.elem = ref} style={{ position: 'relative', width: '100%', height: '100%' }}> <div ref={ref => this.elem = ref} style={{ position: 'relative', width: '100%', height: '100%' }}>
{ {
data && data.length>0 && (data[0].children||[]).length===0 && <Empty image={<img src={emptyImg} />} imageStyle={{ width: 100, height: 100, marginBottom: 0 }} description='当前已是最底层' style={{ position: 'absolute', top: 100, display: 'flex', flexDirection: 'column', alignItems: 'center', width: '100%' }} /> data && data.length>0 && (data[0].children||[]).length===0 && <Empty image={<img src={emptyImg} />} imageStyle={{ width: 100, height: 100, marginBottom: 0 }} description='当前已是最底层' style={{ position: 'absolute', display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center', width: '100%', height: '100%' }} />
} }
</div> </div>
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment