微信小程序H.createEvent is not a function解决

微信小程序H.createEvent is not a function解决

解决方案:

检查接口、资源地址是否正确,如果配置了ssl使用的https,检查证书是否过期!

报错信息:

// An highlighted block

VM13:2 MiniProgramError
Q.createEvent is not a function
TypeError: Q.createEvent is not a function
    at ne (eval at n.call.document (http://127.0.0.1:23647/remote-debug/runtime.js?devtools_ignore=true:1:14643), <anonymous>:2:57292)
    at eval (eval at n.call.document (http://127.0.0.1:23647/remote-debug/runtime.js?devtools_ignore=true:1:14643), <anonymous>:2:57590)
    at e.exports (eval at n.call.document (http://127.0.0.1:23647/remote-debug/runtime.js?devtools_ignore=true:1:14643), <anonymous>:2:36385)
    at eval (eval at n.call.document (http://127.0.0.1:23647/remote-debug/runtime.js?devtools_ignore=true:1:14643), <anonymous>:2:57541)
    at y.<computed> (eval at n.call.document (http://127.0.0.1:23647/remote-debug/runtime.js?devtools_ignore=true:1:14643), <anonymous>:2:42522)
    at w (eval at n.call.document (http://127.0.0.1:23647/remote-debug/runtime.js?devtools_ignore=true:1:14643), <anonymous>:2:42251)
    at Function.eval (eval at n.call.document (http://127.0.0.1:23647/remote-debug/runtime.js?devtools_ignore=true:1:14643), <anonymous>:2:42289)
    at <setTimeout callback function>
    at eval (eval at n.call.document (http://127.0.0.1:23647/remote-debug/runtime.js?devtools_ignore=true:1:14643), <anonymous>:2:115064)
    at eval (eval at n.call.document (http://127.0.0.1:23647/remote-debug/runtime.js?devtools_ignore=true:1:14643), <anonymous>:2:107930)
errorReport @ VM13:2
thirdErrorReport @ VM13:2
eval @ VM13:2
u @ VM13:2
eval @ VM13:2
eval @ VM13:2
setTimeout (async)
setTimeout @ VM13:2
_.now.o.addEventListener.o.importScripts.h.protocol.n @ VM13:2
f @ VM13:2
ie @ VM13:2
eval @ VM13:2
n @ VM13:2
y.<computed> @ VM13:2
w @ VM13:2
eval @ VM13:2
u @ VM13:2
eval @ VM13:2
eval @ VM13:2
setTimeout (async)
setTimeout @ VM13:2
_.now.o.addEventListener.o.importScripts.h.protocol.n @ VM13:2
f @ VM13:2
y.resolve.o @ VM13:2
e.exports @ VM13:2
re @ VM13:2
ce @ VM13:2
eval @ VM13:2
u @ VM13:2
eval @ VM13:2
eval @ VM13:2
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值