Commit adff7315 by zhaochengxiang

热力图优化

parent 3f9a5d62
......@@ -38,7 +38,7 @@ class Thermodynamic extends React.Component {
return (
<div ref={ref => this.elem = ref} style={{ position: 'relative', width: '100%', height: '100%' }}>
{
data && data.length>0 && (data[0].children||[]).length===0 && <Empty image={Empty.PRESENTED_IMAGE_SIMPLE} style={{ position: 'absolute', top: 100, display: 'flex', flexDirection: 'column', alignItems: 'center', width: '100%' }} />
data && data.length>0 && (data[0].children||[]).length===0 && <Empty image={Empty.PRESENTED_IMAGE_SIMPLE} description='当前已是最底层' style={{ position: 'absolute', top: 100, display: 'flex', flexDirection: 'column', alignItems: 'center', width: '100%' }} />
}
</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