Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Coloring_OL
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
Coloring_OL
Commits
f6a328c1
Commit
f6a328c1
authored
Jul 15, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
1ad5a620
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
.DS_Store
.DS_Store
+0
-0
Coloring_OL.js
assets/Coloring_OL/scene/Coloring_OL.js
+12
-12
No files found.
.DS_Store
View file @
f6a328c1
No preview for this file type
assets/Coloring_OL/scene/Coloring_OL.js
View file @
f6a328c1
...
...
@@ -1372,7 +1372,7 @@ cc.Class({
},
resultItemArr
:
null
,
async
initOtherPlayerItem
()
{
initOtherPlayerItem
()
{
console
.
log
(
'
in initOtherPlayerItem
'
)
...
...
@@ -1954,24 +1954,24 @@ cc.Class({
this
.
sendServerEvent
(
'
send_result
'
,
data
);
this
.
sendResult
();
//
this.sendResult();
},
sendResult
()
{
const
data
=
{
teethDataArr
:
this
.
teethDataArr
,
uuid
:
this
.
playerId
};
//
const data = { teethDataArr: this.teethDataArr, uuid: this.playerId };
const
node
=
cc
.
find
(
'
middleLayer
'
);
if
(
node
)
{
console
.
log
(
'
node exist
'
);
const
mScript
=
node
.
getComponent
(
'
middleLayer
'
);
//
const node = cc.find('middleLayer');
//
if (node) {
//
console.log('node exist');
//
const mScript = node.getComponent('middleLayer');
console
.
log
(
'
saveAnswer ~ :
'
,
JSON
.
stringify
(
data
));
//
console.log(' saveAnswer ~ :', JSON.stringify(data));
mScript
.
saveAnswer
(
data
,
()
=>
{
callback
&&
callback
();
})
}
//
mScript.saveAnswer(data, () => {
//
callback && callback();
//
})
//
}
// if (window && window.courseware) {
...
...
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