fs 模块的异步文件操作不返回promise,例如fs.readFile,返回值为空。请你基于fs.readFile自己封装一个支持promise的myReadFile方法var fs ...
確定! 回上一頁