refactor:修复 antd typecheck 提供的报错

This commit is contained in:
YunaiV
2025-04-23 12:56:35 +08:00
parent a6f25d477b
commit b4efb7c468
19 changed files with 210 additions and 147 deletions

View File

@@ -27,7 +27,7 @@ export namespace InfraFileApi {
/** 上传文件 */
export interface FileUploadReqVO {
file: File;
file: globalThis.File;
path?: string;
}
}
@@ -60,7 +60,6 @@ export function createFile(data: InfraFileApi.File) {
}
/** 上传文件 */
// TODO @芋艿:这里有爆红
export function uploadFile(
data: InfraFileApi.FileUploadReqVO,
onUploadProgress?: AxiosProgressEvent,