PC端真机调试不支持Worker,但是wx.canIUse返回true

发布于 4 年前作者 zqiu9463 次浏览最后编辑 4 年前来自 issues

使用wx.canIUse(“createWorder”)判断pc端小程序的环境是否支持worker时,返回为true,而实际调用时wx.createWorder会直接报错提示"Worker is currently not supported. Please debug it on your mobile phone."

触发环境:win10端真机调试。预计win/mac端正式环境也有这个问题,未测试。

0 回复
暂无回复