master
parent
9c1db5c199
commit
786864122e
5
app.js
5
app.js
|
@ -17,6 +17,11 @@ App({
|
|||
onLaunch: function () {
|
||||
var that = this;
|
||||
wx.setStorageSync('urlPath', urlPath);
|
||||
let hInfo = wx.getAccountInfoSync();
|
||||
// console.log(hInfo.envVersion);//develop:开发版 trial:体验版 release:正式版
|
||||
if(hInfo.miniProgram.envVersion != "trial"){
|
||||
console.log = () =>{}
|
||||
}
|
||||
// this.setOpenid()
|
||||
// wx.getSetting({
|
||||
// success: (res) => {
|
||||
|
|
Loading…
Reference in New Issue