十八、ref绑定和this refs 绑定的标识获取 只非鱼 2017-12-13 269 阅读1分钟 // 初始化在render() <SelectedDialog ref='SelectedDialog' /> // 获取就可以调用它内部的方法 this.refs.SelectedDialog