捕获未处理的Promise错误

对 promise reject 进行全局错误处理

🕐
window.addEventListener('unhandledrejection', (event) => {
    console.log('vente');
});