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

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

...@@ -651,14 +651,14 @@ class Util { ...@@ -651,14 +651,14 @@ 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(() => {
this.request(data); this.request(data);
...@@ -760,9 +760,9 @@ class Stat extends Util { ...@@ -760,9 +760,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);
......
...@@ -391,9 +391,9 @@ class Util { ...@@ -391,9 +391,9 @@ class Util {
// } // }
}, },
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(() => {
this.request(data); this.request(data);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册