Commit 8a46df44 authored by Tt's avatar Tt

1

parent c2554d61
...@@ -190,6 +190,7 @@ pg.view = { ...@@ -190,6 +190,7 @@ pg.view = {
return child; return child;
}, },
findComponent(item, type) { findComponent(item, type) {
let child = null;
if (item) { if (item) {
let node = item.node ? item.node : item; let node = item.node ? item.node : item;
if (!node.children || node.children.length == 0) return log.w("findChild error->" + "找不到此节点,请检查层级路径:" + childPath); if (!node.children || node.children.length == 0) return log.w("findChild error->" + "找不到此节点,请检查层级路径:" + childPath);
......
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