TypeError: Cannot read property 'XMLHttpRequest' of undefined
Closed this issue · 4 comments
Allenxuxu commented
uniapp 下使用出现如下报错:
TypeError: Cannot read property 'XMLHttpRequest' of undefined
at createXHR (helper.ts?ee0d:128)
at helper.ts?ee0d:195
at new Q (VM1074 WAService.js:1)
at Object.request (helper.ts?ee0d:194)
at index.ts?2342:21
at step (index.ts?2342:3)
at Object.next (index.ts?2342:3)
at index.ts?2342:3
at new Q (VM1074 WAService.js:1)
at __awaiter (index.ts?2342:3)
yinxulai commented
感谢反馈,我们会尽快验证该问题
Ilizarov1 commented
试了一下,没碰到这个问题,请提供更详细的使用场景
代码:
https://github.com/Ilizarov1/uni-js-sdk-test
预览:
https://uni-js-sdk-test.vercel.app/
Allenxuxu commented
试了一下,没碰到这个问题,请提供更详细的使用场景
代码: https://github.com/Ilizarov1/uni-js-sdk-test 预览: https://uni-js-sdk-test.vercel.app/
我是使用 uni 开发微信小程序,似乎微信小程序不支持的缘故😅。
yinxulai commented
是的,小程序不支持