微信小程序真机调试出现的问题,百度了好久也不明白哪里出错

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:48845/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:30186)
    at eval (eval at n.call.document (http://127.0.0.1:48845/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:30484)
    at e.exports (eval at n.call.document (http://127.0.0.1:48845/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:35646)
    at eval (eval at n.call.document (http://127.0.0.1:48845/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:30435)
    at y.<computed> (eval at n.call.document (http://127.0.0.1:48845/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:33712)
    at O (eval at n.call.document (http://127.0.0.1:48845/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:33441)
    at Function.eval (eval at n.call.document (http://127.0.0.1:48845/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:33479)
    at <setTimeout callback function>
    at eval (eval at n.call.document (http://127.0.0.1:48845/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:109783)
    at eval (eval at n.call.document (http://127.0.0.1:48845/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:100928)

 

U.createEvent全文检索一下