当前企业微信
This commit is contained in:
@@ -5,6 +5,10 @@ App({
|
||||
this.updateVersion()
|
||||
wx.getSystemInfo({
|
||||
success(res) {
|
||||
console.log(res)
|
||||
if(!!res.environment&&res.environment=='wxwork'){
|
||||
console.log('当前企业微信')
|
||||
}
|
||||
that.globalData.statusBarHeight = res.statusBarHeight;
|
||||
that.globalData.screenHeight = res.screenHeight;
|
||||
that.globalData.screenWidth = res.screenWidth;
|
||||
|
||||
Reference in New Issue
Block a user