Commit ec43690e authored by 陈万宝's avatar 陈万宝

feat: 更新图片截取

parent 0078f491
......@@ -340,8 +340,11 @@
background: #f8f8f8;
}
:global {
.reactEasyCrop_Container {
height: 550px !important;
}
}
// :global {
// .reactEasyCrop_Container {
// height: 550px !important;
// }
// .reactEasyCrop_CropArea {
// height: 100% !important;
// }
// }
......@@ -238,7 +238,8 @@ const UploadCropImage = forwardRef((props, ref) => {
{limit !== null && fileList.length >= limit ? (
''
) : (
<ImgCrop rotationSlider modalWidth={500} modalHeight={500} quality={0.5} showReset>
// aspectSlider rotationSlider modalWidth={500} modalHeight={500} quality={0.5}
<ImgCrop showGrid rotationSlider showReset>
<Upload
{...uploadParams}
disabled={Boolean(disabled)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment