最近首页调用wx.getLocation获取用户位置但是出现了第一次可以正常,第二次开始报错频繁调用,让修改为wx.onLocaltionChange,
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 ,
回答:
两个小时前好像修复了 你可以删一下小程序再进试一下
根据报错提示替换使用wx.onLocationChange就可以了
你好,已修复,请重试