现在华为手机wx.getLocation调取都是进入fail页面
发布于 4 年前 作者 elong 19429 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)

加入appiId之后在多台华为机上wx.getLocation只执行fail回调,没有success

  • 预期表现

应该执行wx.getLocation成功success函数

  • 复现路径

pages/cityList

  • 提供一个最简复现 Demo

控制台有打印console.log(调用wx.getLocation方法失败失败

1 回复

你好,是不是没有权限呢?请提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部