Commit 9dbec023 authored by liujiangnan's avatar liujiangnan

feat

parent 8b184ba3
......@@ -188,7 +188,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
const middleLayer = cc.find('middleLayer').getComponent('middleLayer');
console.log('upload->' + JSON.stringify(upData))
middleLayer.onHomeworkFinish(upData, () => {
console.log('^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^');
res('');
})
})
......@@ -196,7 +195,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
private gameOver() {
// pg.event.emit('layer_ending_show', { coin: this.score })
this.sendData(this.score).then(() => {
console.log('&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&');
const midd = cc.find('middleLayer');
if (!midd) return this.log("no middleLayer");
let middleLayer = midd.getComponent('middleLayer');
......
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