Skip to content

Commit

Permalink
Merge remote-tracking branch 'baidu/master'
Browse files Browse the repository at this point in the history
Change-Id: Idd0c9711d703d447044bf8478a9d7e561b35cd1b
  • Loading branch information
2betop committed Oct 30, 2020
2 parents 5f9314a + 5718471 commit 64933bd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/components/form/file.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ order: 21
}
```

### 接口返回格式

```json
{
"status": 0,
"msg": "",
"data": {
"value": "xxxx"
}
}
```

- value:必须返回该字段用作回显,一般是文件资源地址

## 限制文件类型

可以配置`accept`来限制可选择的文件类型,格式是文件后缀名`.xxx`
Expand Down

0 comments on commit 64933bd

Please sign in to comment.