process.on('exit', (code) => { console.log(`退出码: ${code}`); });. 监听器函数必须只执行同步操作。 在调用 'exit' 事件监听器之后,Node.js 进程将立即退出, ...
確定! 回上一頁