wx.getLocation 阻塞UI线程, 出现卡顿现象
- 当前 Bug 的表现(可附上截图)
在调用 wx.getLocation 时, 页面出现卡顿, 且, 大概率的出现 errMsg: “getLocation:timeout”
经过观察. 发现 卡顿现象主要是出现在 errMsg: “getLocation:timeout” 时.
-
预期表现
-
复现路径
-
提供一个最简复现 Demo
在调用 wx.getLocation 时, 页面出现卡顿, 且, 大概率的出现 errMsg: “getLocation:timeout”
经过观察. 发现 卡顿现象主要是出现在 errMsg: “getLocation:timeout” 时.
预期表现
复现路径
提供一个最简复现 Demo