图表空状态

    1. import React, {memo} from 'react';
    2. import { Empty } from 'antd';
    3. const style = { paddingTop: 56, height: 360 };
    4. function ChartEmpty() {
    5. return (
    6. <Empty style={style} />
    7. );
    8. }
    9. export default memo(ChartEmpty);