|
1
|
var mta=require('mta-wechat-analysis')
|
1
|
var mta=require('mta-wechat-analysis')
|
|
2
|
var uri_dc = require('utils/uri.js')
|
2
|
var uri_dc = require('utils/uri.js')
|
|
3
|
global.regeneratorRuntime = require('lib/regenerator/runtime-module')
|
3
|
global.regeneratorRuntime = require('lib/regenerator/runtime-module')
|
|
|
|
4
|
+import rollbar from 'utils/rollbar'
|
|
4
|
|
5
|
|
|
5
|
const { regeneratorRuntime } = global
|
6
|
const { regeneratorRuntime } = global
|
|
6
|
Array.prototype._indexOf = function (val) {
|
7
|
Array.prototype._indexOf = function (val) {
|
|
@@ -35,7 +36,6 @@ App({ |
|
@@ -35,7 +36,6 @@ App({ |
|
35
|
this.getSystemInfo();
|
36
|
this.getSystemInfo();
|
|
36
|
this.openid=await this.getOpenid();
|
37
|
this.openid=await this.getOpenid();
|
|
37
|
console.log('this.openid',this.openid,mta);
|
38
|
console.log('this.openid',this.openid,mta);
|
|
38
|
-
|
|
|
|
39
|
},
|
39
|
},
|
|
40
|
onShow:async function(){
|
40
|
onShow:async function(){
|
|
41
|
if (wx.canIUse('getUpdateManager')) {
|
41
|
if (wx.canIUse('getUpdateManager')) {
|
|
@@ -187,5 +187,8 @@ App({ |
|
@@ -187,5 +187,8 @@ App({ |
|
187
|
}
|
187
|
}
|
|
188
|
},
|
188
|
},
|
|
189
|
})
|
189
|
})
|
|
190
|
- }
|
190
|
+ },
|
|
|
|
191
|
+ onError(e){
|
|
|
|
192
|
+ console.log('--onError--',e)
|
|
|
|
193
|
+ },
|
|
191
|
}) |
194
|
}) |