uniapp 小程序 获取位置信息 uniapp提供的有自带的获取位置信息的api https://uniapp.dcloud.io/api/location/location?id=getlocation 开发小程序时,获取位置信息会提示设置json 只需要做以下设置,重新启动项目即可