import React from 'react'; import '../../content.less'; import LeftTab from '../leftTab.jsx'; import Copyright from './copyright.jsx'; const Content = React.createClass({ getInitialState() { return { loading: false, leftKey: 'comprehensive', }; }, handlekey(key) { this.setState({ leftKey: key, }); window.location.hash = key; }, componentWillMount(){ if ( window.location.hash ) { this.handlekey(window.location.hash.substr(1)); }; }, render() { return (
) } }); export default Content;