新版的react-typescript开发中获取refDOM节点的方法有所改变

componentDidMount() {
        let container = ReactDOM.findDOMNode(this.refs['mycontainer']) as HTMLInputElement;
        console.log(container.innerHTML);
    }