Uin-app 之配置腾讯位置插件

一、代码

在manifest.json中配置,官网文档:https://uniapp.dcloud.io/component/mp-weixin-plugin

"mp-weixin" : {
    "appid" : "",
    "setting" : {
        "urlCheck" : false,
        "minified" : true,
        "es6" : true
    },
    "usingComponents" : true,
    "permission" : {
        "scope.userLocation" : {
            "desc" : "你的位置信息将用于小程序定位"
        }
    },
    "plugins" : {
        "routePlan" : {
            "version" : "1.0.12",
            "provider" : "wx50b5593e81dd937a"
        }
    }
}

 

posted @ 2021-06-05 11:21  样子2018  阅读(210)  评论(0编辑  收藏  举报