分类图片上传和用户等级图片上传

This commit is contained in:
liu
2026-08-05 13:32:50 +08:00
parent b296ea9bb5
commit 38338a8833
16 changed files with 218 additions and 52 deletions
@@ -17,11 +17,17 @@ export interface ImageUploaderProps {
*/
value?: ISysFileInfo | ISysFileInfo[] | null;
/**
* 赋值类型
* 上传完成后赋值的类型。
*/
changeType?: 'id' | 'object';
/**
* 上传完成回调
* @param value ISysFileInfo | ISysFileInfo[] | null
*/
onChange?: (value: ISysFileInfo | ISysFileInfo[] | null) => void;
onChange?: (value?: ISysFileInfo | ISysFileInfo[] | number | number[] | null) => void;
/**
* 上传模式
@@ -65,9 +71,9 @@ export interface ImageUploaderProps {
*/
croppable?: boolean;
/**
/**
* 剪裁参数
*/
cropperOptions?: Omit<ImgCropProps, 'children'>;
}
}