本文主要是介绍uni-app项目 getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.jso,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1. 打开mainfest.json,选择最下面的源码视图
2. 在mp-weixin中添加属性,如下图
这篇关于uni-app项目 getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.jso的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!