TOGOUTECH

reactInternalInstance

全部标签

javascript - 尝试访问数组后,React 组件返回无法读取 null 的属性 '__reactInternalInstance$

这是有问题的组件。constUserList=React.createClass({render:function(){lettheList;if(this.props.data){theList=this.props.data.map(function(user,pos){return(<divclassName="rowuser"><divclassName="col-xs-1">{pos}</div><divclassName="col-xs-5">{user.username}<