分类图片上传和用户等级图片上传
This commit is contained in:
@@ -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'>;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user