diff --git a/docs/api/README.md b/docs/api/README.md index d7169d8cc3c58283fadef6aee9901e86a7b87894..cba7584c1949222ca7588c522a6ae7731b3e890c 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -62,7 +62,7 @@ uni.request({ }) // Await -function async request () { +async function request () { var [error, res] = await uni.request({ url: 'https://www.example.com/request' });