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

时间:2021-06-05 18:17:48   收藏:0   阅读:0

一、代码

在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"
        }
    }
}

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!