小程序
小游戏
企业微信
微信支付
扫描小程序码分享
如题 在开发工具上缺少locationEnabled、locationAuthorized字段,真机返回正常。近期出现的问题,之前是正常的
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
可以提供出现问题的开发工具版本号、基础库版本号以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
{
"errMsg": "getSystemInfo:ok",
"model": "iPhone X",
"pixelRatio": 3,
"windowWidth": 375,
"windowHeight": 724,
"system": "iOS 10.0.1",
"language": "zh_CN",
"version": "8.0.5",
"screenWidth": 375,
"screenHeight": 812,
"SDKVersion": "2.19.2",
"brand": "devtools",
"fontSizeSetting": 16,
"benchmarkLevel": 1,
"batteryLevel": 83,
"statusBarHeight": 44,
"safeArea": {
"top": 44,
"left": 0,
"right": 375,
"bottom": 778,
"width": 375,
"height": 734
},
"deviceOrientation": "portrait",
"platform": "devtools",
"enableDebug": false,
"devicePixelRatio": 3
}
{"errMsg":"getSystemInfo:ok","model":"iPhone X","pixelRatio":3,"windowWidth":375,"windowHeight":724,"system":"iOS 10.0.1","language":"zh_CN","version":"8.0.5","screenWidth":375,"screenHeight":812,"SDKVersion":"2.19.2","brand":"devtools","fontSizeSetting":16,"benchmarkLevel":1,"batteryLevel":83,"statusBarHeight":44,"safeArea":{"top":44,"left":0,"right":375,"bottom":778,"width":375,"height":734},"deviceOrientation":"portrait","platform":"devtools","enableDebug":false,"devicePixelRatio":3}
你好,工具这边确实有部分字段缺失,我们会在后续版本中补充
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
可以提供出现问题的开发工具版本号、基础库版本号以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
{
"errMsg": "getSystemInfo:ok",
"model": "iPhone X",
"pixelRatio": 3,
"windowWidth": 375,
"windowHeight": 724,
"system": "iOS 10.0.1",
"language": "zh_CN",
"version": "8.0.5",
"screenWidth": 375,
"screenHeight": 812,
"SDKVersion": "2.19.2",
"brand": "devtools",
"fontSizeSetting": 16,
"benchmarkLevel": 1,
"batteryLevel": 83,
"statusBarHeight": 44,
"safeArea": {
"top": 44,
"left": 0,
"right": 375,
"bottom": 778,
"width": 375,
"height": 734
},
"deviceOrientation": "portrait",
"platform": "devtools",
"enableDebug": false,
"devicePixelRatio": 3
}
{"errMsg":"getSystemInfo:ok","model":"iPhone X","pixelRatio":3,"windowWidth":375,"windowHeight":724,"system":"iOS 10.0.1","language":"zh_CN","version":"8.0.5","screenWidth":375,"screenHeight":812,"SDKVersion":"2.19.2","brand":"devtools","fontSizeSetting":16,"benchmarkLevel":1,"batteryLevel":83,"statusBarHeight":44,"safeArea":{"top":44,"left":0,"right":375,"bottom":778,"width":375,"height":734},"deviceOrientation":"portrait","platform":"devtools","enableDebug":false,"devicePixelRatio":3}
调试基础库:2.19.2
复现场景:调用wx.getSystemInfo 打印res
你好,工具这边确实有部分字段缺失,我们会在后续版本中补充