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 @@