Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP05
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
OP05
Commits
8a46df44
Commit
8a46df44
authored
Sep 25, 2021
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c2554d61
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
pg.js
play/assets/OP05/scene/pg.js
+1
-0
No files found.
play/assets/OP05/scene/pg.js
View file @
8a46df44
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment