master
git 8 years ago
parent 586c2bb72b
commit 29b541bfeb

@ -395,8 +395,8 @@ Custom upload method
``` ```
```js ```js
async function customAction(file, component) { async function customAction(file, component) {
// return component.uploadPut(file) // return await component.uploadPut(file)
return component.uploadHtml4(file) return await component.uploadHtml4(file)
} }
``` ```

@ -315,8 +315,8 @@ input标签的 `name` 属性
``` ```
```js ```js
async function customAction(file, component) { async function customAction(file, component) {
// return component.uploadPut(file) // return await component.uploadPut(file)
return component.uploadHtml4(file) return await component.uploadHtml4(file)
} }
``` ```

Loading…
Cancel
Save