Commit f6a328c1 authored by limingzhe's avatar limingzhe

fix: debug

parent 1ad5a620
No preview for this file type
......@@ -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) {
......
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