收藏
回答

小程序之前运行的好好的,IOS机型正常,Android机型会报如下的错误?

VM13:2 MiniProgramError

U.createEvent is not a function

TypeError: U.createEvent is not a function

    at Q (eval at n.call.document (http://127.0.0.1:40670/remote-debug/runtime.js?devtools_ignore=true:1:12851), <anonymous>:2:31066)

    at eval (eval at n.call.document (http://127.0.0.1:40670/remote-debug/runtime.js?devtools_ignore=true:1:12851), <anonymous>:2:31364)

    at e.exports (eval at n.call.document (http://127.0.0.1:40670/remote-debug/runtime.js?devtools_ignore=true:1:12851), <anonymous>:2:36526)

    at eval (eval at n.call.document (http://127.0.0.1:40670/remote-debug/runtime.js?devtools_ignore=true:1:12851), <anonymous>:2:31315)

    at y.<computed> (eval at n.call.document (http://127.0.0.1:40670/remote-debug/runtime.js?devtools_ignore=true:1:12851), <anonymous>:2:34592)

    at O (eval at n.call.document (http://127.0.0.1:40670/remote-debug/runtime.js?devtools_ignore=true:1:12851), <anonymous>:2:34321)

    at Function.eval (eval at n.call.document (http://127.0.0.1:40670/remote-debug/runtime.js?devtools_ignore=true:1:12851), <anonymous>:2:34359)

    at <setTimeout callback function>

    at eval (eval at n.call.document (http://127.0.0.1:40670/remote-debug/runtime.js?devtools_ignore=true:1:12851), <anonymous>:2:112414)

    at eval (eval at n.call.document (http://127.0.0.1:40670/remote-debug/runtime.js?devtools_ignore=true:1:12851), <anonymous>:2:103559)

errorReport @ VM13:2

thirdErrorReport @ VM13:2

eval @ VM13:2

d @ VM13:2

eval @ VM13:2

eval @ VM13:2

setTimeout (async)

setTimeout @ VM13:2

b.now.a.addEventListener.a.importScripts.p.protocol.r @ VM13:2

h @ VM13:2

ee @ VM13:2

eval @ VM13:2

r @ VM13:2

Promise.then (async)

a @ VM13:2

e.exports @ VM13:2

Z @ VM13:2

oe @ VM13:2

eval @ VM13:2

fail @ util.js:37

forEach.u.<computed> @ VM13:2

d @ VM13:2

eval @ VM13:2

p @ VM13:2

eval @ VM13:2

d @ VM13:2

eval @ VM13:2

eval @ VM13:2

value @ VM13:2

B @ VM13:2

eval @ VM13:2

eval @ VM13:2

O @ VM13:2

oe @ runtime.js?devtools_ignore=true:1

eval @ VM80:1

L @ runtime.js?devtools_ignore=true:1

ae @ runtime.js?devtools_ignore=true:1

pe.onmessage @ runtime.js?devtools_ignore=true:1

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容
问题标签