docs: 修正upload文档

This commit is contained in:
lockingreal 2022-04-13 23:20:37 +08:00
parent b422ea524b
commit 0c3b4a6ecb
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
"lint:prettier": "prettier --write \"package/**/*.{vue,ts}\"",
"postinstall": "npm run build",
"prepare": "husky install",
"commit": "git add . && git-cz && git push"
"commit": "git-cz && git push"
},
"dependencies": {
"@layui/layui-vue": "workspace:*",

View File

@ -189,7 +189,7 @@ export default {
| 属性 | 描述 | 类型 | 默认值 | 可选值 |
| ----------- | -------- | ------- | --------- | ---------------------------------- |
| url | 服务端上传接口s | string | -- | -- |
| url | 服务端上传接口 | string | -- | -- |
| data | 请求上传接口的额外参数 | object | -- | -- |
| headers | 接口的请求头 | object | -- | -- |
| acceptMime | 文件选择框时的可选文件类型 | string | `images` | `images` |