一、代码

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

 

相关文章:

  • 2021-07-17
  • 2021-12-03
  • 2021-12-05
  • 2021-08-13
  • 2021-10-28
  • 2021-04-23
  • 2021-12-22
  • 2021-06-08
猜你喜欢
  • 2021-04-07
  • 2021-05-22
  • 2021-07-09
  • 2021-06-03
  • 2022-12-23
  • 2021-08-16
相关资源
相似解决方案