From 198b8917ee01b72ac9fb28cd7c466450476eb92d Mon Sep 17 00:00:00 2001 From: Electrolux <59329360+electroluxcode@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:39:07 +0800 Subject: [PATCH] update upload.md & fix icon url (#150) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update: 更新icon的url * Update upload.md * update: set icon --- .vitepress/config.js | 2 +- components/upload.md | 3 +++ favicon.ico => public/favicon.ico | Bin 3 files changed, 4 insertions(+), 1 deletion(-) rename favicon.ico => public/favicon.ico (100%) diff --git a/.vitepress/config.js b/.vitepress/config.js index b5d9deeb..3af0f42d 100644 --- a/.vitepress/config.js +++ b/.vitepress/config.js @@ -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', { diff --git a/components/upload.md b/components/upload.md index 84b21cac..6f4d4a7e 100644 --- a/components/upload.md +++ b/components/upload.md @@ -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 diff --git a/favicon.ico b/public/favicon.ico similarity index 100% rename from favicon.ico rename to public/favicon.ico