NodeJS 进程全局有一个unhandledRejection 事件。当unhandledRejection 发生并且承诺链中没有处理程序来处理它时,会触发此事件。 用法: process.on("unhandledRejection ...
確定! 回上一頁