Commit 7e2b56ae authored by 范雪寒's avatar 范雪寒

test:log

parent 0a34daf2
...@@ -61,7 +61,7 @@ cc.Class({ ...@@ -61,7 +61,7 @@ cc.Class({
var list = scene.getComponentsInChildren(cc.Widget); var list = scene.getComponentsInChildren(cc.Widget);
for (var i in list) { for (var i in list) {
if (!list[i].name.includes("middlelayer")) { if (!list[i].node.name.includes("middlelayer")) {
list[i].updateAlignment(); list[i].updateAlignment();
} else { } else {
console.log('middlelayer汪汪汪') console.log('middlelayer汪汪汪')
......
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