当前企业微信

This commit is contained in:
老叶
2022-02-22 10:02:39 +08:00
parent bb95bf51d6
commit 29650d44c7
+4
View File
@@ -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;