docs: 修正upload文档
This commit is contained in:
parent
b422ea524b
commit
0c3b4a6ecb
@ -15,7 +15,7 @@
|
|||||||
"lint:prettier": "prettier --write \"package/**/*.{vue,ts}\"",
|
"lint:prettier": "prettier --write \"package/**/*.{vue,ts}\"",
|
||||||
"postinstall": "npm run build",
|
"postinstall": "npm run build",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"commit": "git add . && git-cz && git push"
|
"commit": "git-cz && git push"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@layui/layui-vue": "workspace:*",
|
"@layui/layui-vue": "workspace:*",
|
||||||
|
@ -189,7 +189,7 @@ export default {
|
|||||||
|
|
||||||
| 属性 | 描述 | 类型 | 默认值 | 可选值 |
|
| 属性 | 描述 | 类型 | 默认值 | 可选值 |
|
||||||
| ----------- | -------- | ------- | --------- | ---------------------------------- |
|
| ----------- | -------- | ------- | --------- | ---------------------------------- |
|
||||||
| url | 服务端上传接口s | string | -- | -- |
|
| url | 服务端上传接口 | string | -- | -- |
|
||||||
| data | 请求上传接口的额外参数 | object | -- | -- |
|
| data | 请求上传接口的额外参数 | object | -- | -- |
|
||||||
| headers | 接口的请求头 | object | -- | -- |
|
| headers | 接口的请求头 | object | -- | -- |
|
||||||
| acceptMime | 文件选择框时的可选文件类型 | string | `images` | `images` |
|
| acceptMime | 文件选择框时的可选文件类型 | string | `images` | `images` |
|
||||||
|
Loading…
Reference in New Issue
Block a user