wangxinglong 2021-09-03 09:54:06 +08:00
commit 001176c0cd
1 changed files with 5 additions and 0 deletions

5
app.js
View File

@ -17,6 +17,11 @@ App({
onLaunch: function () { onLaunch: function () {
var that = this; var that = this;
wx.setStorageSync('urlPath', urlPath); wx.setStorageSync('urlPath', urlPath);
let hInfo = wx.getAccountInfoSync();
// console.log(hInfo.envVersion);//develop:开发版 trial体验版 release正式版
if(hInfo.miniProgram.envVersion != "trial"){
console.log = () =>{}
}
// this.setOpenid() // this.setOpenid()
// wx.getSetting({ // wx.getSetting({
// success: (res) => { // success: (res) => {