var objectArray = new Arrayfor (var i = 0; i < 3; i++ ) {var testObject = component.createObject(rootItem) ;...objectArray.push(testObject )}保存好objectArray, 接下来你就对数组操作就好了啊