这时,必须调用 ctx.app.emit() ,手动释放 error 事件,才能让监听函数生效。请看下面的例子(完整代码看这里)。 // demos/18.js` const handler ...
確定! 回上一頁