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,

View File

@@ -1,3 +1,5 @@
import type { PageParam } from '@vben/request';
import { requestClient } from '#/api/request';
export namespace SystemDictDataApi {
@@ -22,7 +24,7 @@ export function getSimpleDictDataList() {
}
// 查询字典数据列表
export function getDictDataPage(params: any) {
export function getDictDataPage(params: PageParam) {
return requestClient.get('/system/dict-data/page', { params });
}