render() {
this.debug('render ....');
this.components.push(<AttentionScreen ref="attention" message={this.state.message} />);
this.components.forEach(function(component, index) {
if(index > 0 && !component.classList.contains('hidden')) {
component.classList.add('hidden');
}
}, this);
return (<div> { this.components } </div>);
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)