更新时间:2023-01-23 18:02:34
.then()
和 .sucess()
都是指 promise 异步运行并等待对于响应,如果它满足您的请求,则 resolve
否则 reject
它.
Both .then()
and .sucess()
are refer to promise it run asynchronously and wait for the response if it fullfied your request then resolve
it otherwise reject
it.
.success
和 .error
已弃用,您可以在文档中找到更多详细信息
.success
and .error
are deprecated you can find more details on documentation