Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
update upload.md & fix icon url (#150)
Browse files Browse the repository at this point in the history
* update: 更新icon的url

* Update upload.md

* update: set icon
  • Loading branch information
electroluxcode authored Apr 18, 2024
1 parent ba28c00 commit 198b891
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function createHead() {
content: 'vben, vitejs, vite, ant-design-vue, vue',
},
],
['link', { rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' }],
['link', { rel: 'icon', type: 'image/svg+xml', href: '/favicon.ico' }],
[
'meta',
{
Expand Down
3 changes: 3 additions & 0 deletions components/upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ VITE_GLOB_UPLOAD_URL=/upload
| multiple | `boolean` | - | - | 开启多文件上传 |
| uploadParams | `any` | - | - | 上传携带的参数 |
| api | `Fn` | - | - | 上传接口,为上面配置的接口 |
| resultField | `string` | - | 接口返回的字段,如果接口返回数组,可以不填。支持`x.x.x`格式 |
| previewColumns | `any` | - | - | 预览的表单列信息 BasicColumn[] | |
| beforePreviewData | `(fileList)=>any[]` | - | - | 对预览的返回值进行处理 | |

## Events

Expand Down
File renamed without changes.

0 comments on commit 198b891

Please sign in to comment.