Skip to content

类型: FileUploadOptions<>

属性

categoryId

categoryId: undefined | string

知晓云文件的 categoryId


maxSize

maxSize: undefined | number

文件尺寸,单位为兆(M)


multiple

multiple: undefined | boolean

是否启用多文件上传,默认只支持上传单文件


shouldCropImage

shouldCropImage: undefined | (file: object, fileList: object[]) => boolean

根据该函数返回判断是否执行 image crop