摘要: 1.Promise.prototype.finally() finally()方法用于不管Promise对象最后的状态如何,都会执行的操作。 promise .then(result => {···}) .catch(error => {···}) .finally(() => {···}); fi 阅读全文
posted @ 2021-02-02 16:36 俄罗斯方块 阅读(1416) 评论(0) 推荐(0)