StatisticsContainer.js 1001 Bytes
import React from 'react';
import Iframe from 'react-iframe'
import { connect } from 'react-redux';
import { Layout } from 'antd';
import cx from 'classnames';

class StatisticsContainer extends React.Component {
    static propTypes = {
    }
    constructor(props) {
        super(props);
    }
    componentDidMount() {
    }
    render() {
        return (
            <div className={cx('statistics_wrap')} style={{ width: '100%', height: '100%', overflowY: 'hidden' }}>
                <Iframe url="https://www.baidu.com"
                    width="100%"
                    height="100%"
                    id="myId"
                    className="myClassname"
                    display="initial"
                    frameBorder={0}
                    position="relative" />
            </div>
        );
    }
}



const mapState = (state) => {
    const { router: { location = {} } } = state;
    return {
        location
    };
};
export default connect(mapState)(StatisticsContainer);