Commit 3d6b2132 authored by 范雪寒's avatar 范雪寒

test: log

parent 7e2b56ae
...@@ -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].node.name.includes("middlelayer")) { if (!list[i].node.name.includes("middle")) {
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