Commit be1ddd98 authored by liujiangnan's avatar liujiangnan

debug

parent 2c687665
...@@ -321,7 +321,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -321,7 +321,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
childrenList.length = 3 childrenList.length = 3
} }
childrenList = childrenList.map(item => { childrenList = childrenList.map(item => {
return {...item, p_name: result.name}; return {...item, p_name: next.name};
}); });
result = [...result, ...childrenList] result = [...result, ...childrenList]
return result return result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment