小程序真机调试报错_fail is not a function 怎么解决?
发布于 6 年前 作者 gangzhong 1130 次浏览 来自 官方Issues

VM13:2 MiniProgramError

_fail is not a function

TypeError: _fail is not a function

    at fail (weapp:///utils/network.js:57:7)

    at Object.forEach.u.<computed> (eval at n.call.document (http://127.0.0.1:33115/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:2529468)

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

    at Module.s (eval at n.call.document (http://127.0.0.1:33115/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:2692019)

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

    at <api request fail callback function>

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

    at p (eval at n.call.document (http://127.0.0.1:33115/remote-debug/runtime.js?devtools_ignore=true:1:13016), <anonymous>:2:846016)

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

    at <NetworkRequest1fail callback function>

1 回复

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部