定位地址出错?

发布于 8 年前作者 yaojing3262 次浏览最后编辑 8 年前来自 ask
3 回复
yang18
yang181 楼6 年前

https://developers.weixin.qq.com/miniprogram/dev/reference/configuration/app.html 在app.json配置一下。


"permission": {
  "scope.userLocation": {
    "desc": "你的位置信息将用于小程序位置接口的效果展示" // 高速公路行驶持续后台定位
  }
}
jiangjuan
jiangjuan3 楼6 年前

这提示不是写的一清二楚吗

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

app.json里面加上这么一段