master
parent
9c1db5c199
commit
786864122e
5
app.js
5
app.js
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue