简体中文
外观
NSIndexPath
item
item 属性是分区里的第几项,从 0 数。
非负整数。
TypeError
const path = new NSIndexPath(2, 5); console.log(path.item);
结果:输出 5。
5
NSIndexPath.item。
NSIndexPath.item