Commit 6dffb6adf0601e2611e06f38d5f53692b2997006

Authored by wangfan
1 parent bb06a062

api.rollbar.com 域名未备案,不能绑小程序

var mta=require('mta-wechat-analysis')
var uri_dc = require('utils/uri.js')
global.regeneratorRuntime = require('lib/regenerator/runtime-module')
import rollbar from 'utils/rollbar'
const { regeneratorRuntime } = global
Array.prototype._indexOf = function (val) {
... ... @@ -35,7 +36,6 @@ App({
this.getSystemInfo();
this.openid=await this.getOpenid();
console.log('this.openid',this.openid,mta);
},
onShow:async function(){
if (wx.canIUse('getUpdateManager')) {
... ... @@ -187,5 +187,8 @@ App({
}
},
})
}
},
onError(e){
console.log('--onError--',e)
},
})
\ No newline at end of file
... ...
{
"description": "项目配置文件。",
"setting": {
"urlCheck": false,
"urlCheck": true,
"es6": true,
"postcss": true,
"minified": true,
... ...
... ... @@ -166,7 +166,7 @@ function __api() {
}
}
//console.log(tmpApi[keys[0]]);
tmpApi[keys[0]].rollbar=rollbar;
//return {...getApp(),...tmpApi[keys[0]]};
return tmpApi[keys[0]];
}
function cache(key, val = -99999, timeout = -1) {
... ...