| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import {connect} from 'react-redux' |
| | | import echarts from 'echarts/lib/echarts' |
| | | import 'echarts/lib/chart/bar' |
| | | import 'echarts/lib/chart/line' |
| | | import 'echarts/lib/component/tooltip' |
| | | import 'echarts/lib/component/title' |
| | | import 'echarts/lib/component/legend' |
| | | import 'echarts/lib/component/toolbox' |
| | | import 'echarts/lib/component/markPoint' |
| | | import 'echarts/lib/component/markLine' |
| | | // import 'echarts/lib/chart/line' |
| | | // import 'echarts/lib/component/title' |
| | | // import 'echarts/lib/component/legend' |
| | | // import 'echarts/lib/component/toolbox' |
| | | // import 'echarts/lib/component/markPoint' |
| | | // import 'echarts/lib/component/markLine' |
| | | import { Icon, Tabs, Slider } from 'antd' |
| | | // import {refreshTabView, modifyTabview} from '@/store/action' |
| | | // import Api from '@/api' |
| | | import './index.scss' |
| | | |
| | | const { TabPane } = Tabs |
| | |
| | | param: PropTypes.object // 菜单参数 |
| | | } |
| | | |
| | | state = { |
| | | |
| | | } |
| | | state = {} |
| | | |
| | | componentDidMount () { |
| | | let myChart = echarts.init(document.getElementById('home')) |
| | |
| | | } |
| | | } |
| | | |
| | | const mapStateToProps = (state) => { |
| | | return {} |
| | | } |
| | | |
| | | const mapDispatchToProps = (dispatch) => { |
| | | return {} |
| | | } |
| | | |
| | | export default connect(mapStateToProps, mapDispatchToProps)(Home) |
| | | export default Home |