import React, { PureComponent } from "react";
import { Tabs } from "antd";
import OneEvent from './One';
import { connect } from "dva";
const { TabPane } = Tabs;
@connect((state) => ({
  tabIndex: state.command.tabIndex,
}))
export default class EventList extends PureComponent {
  constructor(props) {
    super(props);
    this.state = {};
  }
  render() {
    return (
      <div className="child-searchList event">
        {/* <Tabs defaultActiveKey={this.props.tabIndex.event.tabIndex2 || "1"}> */}
          {/* <TabPane tab="活动事件" key="1"> */}
            <OneEvent key="1" />
          {/* </TabPane> */}
          {/* <TabPane tab="活动事件2" key="2" disabled>
            待开发中...
          </TabPane>
          <TabPane tab="活动事件3" key="3" disabled>
            待开发中...
          </TabPane> */}
        {/* </Tabs> */}
      </div>
    );
  }
}
