热门文章
PHP函数介...
如何解决Red...
MySQL数据...
Tomcat 与 N...
Nginx 轻松搞...
Nginx额外篇...
Nginx静态资...
ThinkPHP...
PHP 微服务...
linux-window...

chooseLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json/ext.json错误的解决办法

有趣的灵魂 2022-11-03 10:45:34

错误描述在使用uni-app开发微信小程序的时候,想要通过uni.chooseLocation获取用户地理位置的时候出现chooseLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json/ext.json这样的错误。错误分析把错误日志分析下大致的意思就是:api需要在app.json/ext.json的requiredPrivateInfos字段中声明,也就是说需要app.json/ex...

点击继续预览
最后修改:2022-11-03 10:58:09