错误信息为:instance member 'row' cannot be used on type 'IndexPath' var node:Node = tempData?.object(at: IndexPath.row)
大写开头的
IndexPath是一个类型,并不是一个实例对象。 看起来你是想indexPath.row