Commit 17319ced authored by limingzhe's avatar limingzhe

fix: debug

parent acd49858
...@@ -134,6 +134,9 @@ export default class NewClass extends middleLayerBase { ...@@ -134,6 +134,9 @@ export default class NewClass extends middleLayerBase {
exitGame(data = null) { exitGame(data = null) {
console.log(' in exitGame data: ', data);
console.log(' this.token: ', this.token);
cc.game.removePersistRootNode(this.node); cc.game.removePersistRootNode(this.node);
if (this.token && data) { if (this.token && data) {
this.callNetworkApiPost(`api/dige/v1/user/report`, { this.callNetworkApiPost(`api/dige/v1/user/report`, {
......
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