提交 c92e6a8e 编写于 作者: fxy060608's avatar fxy060608

Merge branch 'dev' of https://github.com/dcloudio/uni-app into dev

...@@ -386,13 +386,13 @@ class Util { ...@@ -386,13 +386,13 @@ class Util {
// }, // },
data: optionsData, data: optionsData,
success: () => { success: () => {
if (process.env.NODE_ENV === 'development') { // if (process.env.NODE_ENV === 'development') {
console.log('stat request success'); // console.log('stat request success');
} // }
}, },
fail: (e) => { fail: (e) => {
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
console.log('stat request fail', e); // console.log('stat request fail', e);
} }
if (++this._retry < 3) { if (++this._retry < 3) {
setTimeout(() => { setTimeout(() => {
...@@ -495,9 +495,9 @@ class Stat extends Util { ...@@ -495,9 +495,9 @@ class Stat extends Util {
report(options, self) { report(options, self) {
this.self = self; this.self = self;
if (process.env.NODE_ENV === 'development') { // if (process.env.NODE_ENV === 'development') {
console.log('report init'); // console.log('report init');
} // }
setPageResidenceTime() setPageResidenceTime()
this.__licationShow = true; this.__licationShow = true;
this._sendReportRequest(options, true); this._sendReportRequest(options, true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册