摘要: Promise期约 偏原理向,方法使用移步 https://www.cnblogs.com/xt112233/p/15137255.html 链式写法 期约的错误写法(fetch会返回一个期约),大量的嵌套回调函数,违背了期约的初衷 fetch("/api/user/profile").then(r 阅读全文
posted @ 2021-12-19 22:34 邢韬 阅读(80) 评论(0) 推荐(0) 编辑