import React from 'react'
import { Tabs, Input, Button, Table, Icon, Tag, Menu, Dropdown } from 'antd'
const { TabPane } = Tabs
const { Search } = Input
import { connect } from 'dva'
import { Link } from 'react-router-dom'

class DataColumn extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
        }
    };

    render() {
        console.log(this.props);
        return (
            <div>
                <Button>
                    <Link to='/dataSource'>back</Link>
                </Button>
                111111
            </div>
        )
    }
}

function mapStateToProps({present: {dataSource}}) {
    return { dataSource }
}

export default connect(mapStateToProps)(DataColumn)