mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2026-06-10 04:57:06 +00:00
This commit is contained in:
@@ -27,7 +27,7 @@ function getButton(node: any, fillFn: boolean): FunctionInfo[] {
|
||||
const ret: FunctionInfo[] = [];
|
||||
for (let i = 0; i < arr.length; i++) {
|
||||
const item = arr[i];
|
||||
if (!item.target) {
|
||||
if (!item || !item.target) {
|
||||
continue;
|
||||
}
|
||||
const compType = cc.js._getClassById(item._componentId);
|
||||
|
||||
Reference in New Issue
Block a user