定位地址出错?
发布于 6 年前 作者 yaojing 2759 次浏览 来自 问答
3 回复

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


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

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

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

app.json里面加上这么一段

回到顶部