refactor:修复 antd typecheck 提供的报错
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user