摘要: 一、Promise中then中两个回调和用catch捕获错误的区别 https://blog.csdn.net/qq_41968486/article/details/123544784 1. 区别 主要区别就是,如果在then的第一个函数里抛出了异常,后面的catch能捕获到,而then的第二个函 阅读全文
posted @ 2024-06-25 09:18 吴飞ff 阅读(1) 评论(0) 推荐(0) 编辑