wx.getLocation是限制的使用次数嘛?

小程序 文章 2021-03-09 17:21 980 0 全屏看文

AI助手支持GPT4.0

wx.getLocation是限制的使用次数嘛?Is wx.getLocation a limited number of uses?

wx.getLocation是限制的使用次数嘛?

最近首页调用wx.getLocation获取用户位置但是出现了第一次可以正常,第二次开始报错频繁调用,让修改为wx.onLocaltionChange,

Recent home page calls wx.getLocation Get the user's location, but the first time can be normal, the second time start to report an error, call frequently, let modify to wx.onLocaltionChange ,

回答:

社区技术运营专员-Jahozheng:

你好,已修复,请重试

Brother斌🎈:

两个小时前好像修复了 你可以删一下小程序再进试一下

微盟:

根据报错提示替换使用wx.onLocationChange就可以了

-EOF-

AI助手支持GPT4.0