miniprogram: add iap mp for ble OTA
This commit is contained in:
12
tools/Mini_Program/iap/miniprogram/app.js
Normal file
12
tools/Mini_Program/iap/miniprogram/app.js
Normal file
@@ -0,0 +1,12 @@
|
||||
//app.js
|
||||
App({
|
||||
globalData: {
|
||||
},
|
||||
onLaunch: function () {
|
||||
this.globalData.SystemInfo = wx.getSystemInfoSync()
|
||||
//console.log(this.globalData.SystemInfo)
|
||||
wx.setKeepScreenOn({
|
||||
keepScreenOn: true
|
||||
})
|
||||
},
|
||||
})
|
Reference in New Issue
Block a user