Commit 0735ad66 authored by kai's avatar kai

fix: 数据上报

parent dfd724ac
......@@ -52,7 +52,6 @@ cc.Class({
// defaults, set visually when attaching this script to the Canvas
// text: 'Hello, World!'
},
totalCount: 0,
_designSize: null, // 设计分辨率
_frameSize: null, // 屏幕分辨率
_mapScaleMin: null, // 场景中常用缩放(取大值)
......@@ -425,7 +424,11 @@ cc.Class({
}
}
}
this.totalCount ++;
if(this.totalCount) {
this.totalCount ++;
} else {
this.totalCount = 1;
}
},
......@@ -483,8 +486,11 @@ cc.Class({
}
}
this.totalCount++;
if(this.totalCount) {
this.totalCount ++;
} else {
this.totalCount = 1;
}
},
......
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