小程序无法弹出授权位置的弹框:

需要在app.json中增加相关配置文件:

"permission": {
"scope.userLocation": {
"desc": "您的位置信息将用于获取位置信息"
}
}