Skip to content

FsCropper

图片裁剪对话框 内部封装了cropperjs

Props

Prop nameDescriptionTypeValuesDefault
titlestring-
cropperHeightstring|number-
dialogWidthstring|number-"50%"
maxSizenumber-5
uploadTipstring-
cropperobject-
acceptstring-".jpg, .jpeg, .png, .gif, .webp"
outputstring-"blob"
compressQualitynumber-0.8

Events

Event namePropertiesDescription
cancel
done
ready