From 382c37e89675ad6ec6607f55fadf53194b86f21c Mon Sep 17 00:00:00 2001 From: lau <1807121535@qq.com> Date: Wed, 10 Jun 2026 17:12:11 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E6=96=B0=E5=A2=9E=20=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E9=99=84=E4=BB=B6=E6=94=AF=E6=8C=81=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E6=89=A9=E5=B1=95=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/oss/types.ts | 14 ++++++++++++++ src/components/FileUpload/index.vue | 17 ++++++++++++++++- src/components/ImageUpload/index.vue | 18 ++++++++++++++++-- 3 files changed, 46 insertions(+), 3 deletions(-) diff --git a/src/api/system/oss/types.ts b/src/api/system/oss/types.ts index 915f2231..befb3ab0 100644 --- a/src/api/system/oss/types.ts +++ b/src/api/system/oss/types.ts @@ -26,3 +26,17 @@ export interface OssQuery extends PageQuery { export interface OssForm { file: undefined | string; } + +export interface SysOssExt { + bizType?: string; + fileSize?: number; + contentType?: string; + source?: string; + uploadIp?: string; + remark?: string; + tags?: string[]; + refId?: string; + refType?: string; + isTemp?: boolean; + md5?: string; +} diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index 0897804c..9b5393e9 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -5,6 +5,7 @@ multiple :action="uploadFileUrl" :before-upload="handleBeforeUpload" + :data="uploadData" :file-list="fileList" :limit="limit" :accept="fileAccept" @@ -48,6 +49,7 @@