"mp-weixin" : {
"appid" :
"setting" : {
"urlCheck" : false,
"es6" : true,
"postcss" : true,
"minified" : true,
"checkSiteMap" : false
},
"usingComponents" : true,
"lazyCodeLoading" : "requiredComponents",
"permission" : {
"scope.userLocation" : {
"desc" : "方便自动填写地址"
}
},
"requiredPrivateInfos":[
"chooseLocation"
]
}
- 发布:2023-03-11 13:06
- 更新:2024-12-05 07:37
- 阅读:240
产品分类: uniapp/小程序/微信
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: Microsoft Windows 10 家庭中文版
HBuilderX类型: 正式
HBuilderX版本号: 3.6.8
第三方开发者工具版本号: Stable 1.06.2206020
基础库版本号: 2.30.2
项目创建方式: HBuilderX
操作步骤:
预期结果:
可调用api
可调用api
实际结果:
{errMsg: "chooseLocation:fail the api need to be declared in…e requiredPrivateInfos field in app.json/ext.json"}
{errMsg: "chooseLocation:fail the api need to be declared in…e requiredPrivateInfos field in app.json/ext.json"}
bug描述:
小程序会显示有requiredPrivateInfos,也已经开通APi