使用FSM.readFileSync读微信好友里的pdf文件出错?
发布于 4 年前 作者 xialiang 1703 次浏览 来自 官方Issues

真机调试。使用FSM.readFileSync读微信好友里的pdf文件出错。

Unhandled promise rejection Error: readFileSync:fail timeout

    at l (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1964570)

    at Object.A.<computed> (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1855963)

    at Object.l.<computed> [as readFileSync] (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:1939342)


我用的是iphone 6s plus。求解决办法。文件就2M而已。

1 回复

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),并详细描述下复现的流程。

回到顶部