未验证 提交 bc747158 编写于 作者: 折腾笔记 提交者: GitHub

Merge pull request #2391 from LittleStoney/patch-1

fix: update function async to async function
......@@ -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'
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册