Closed h93910 closed 2 years ago
第一次或前几次选完图片后 关闭再打开,先选一样的图
部分代码: <ImgCrop modalTitle="" beforeCrop={beforeCrop}>
<ImgCrop modalTitle="" beforeCrop={beforeCrop}>
依赖: "@ant-design/icons": "^4.5.0", "@ant-design/pro-card": "1.18.25", "@ant-design/pro-descriptions": "1.10.46", "@ant-design/pro-form": "1.52.14", "@ant-design/pro-layout": "6.34.0", "@ant-design/pro-list": "1.21.22", "@ant-design/pro-table": "2.66.4", "@umijs/route-utils": "^1.0.36", "antd": "4.18.9", "antd-img-crop": "^4.2.4",
"@ant-design/icons": "^4.5.0", "@ant-design/pro-card": "1.18.25", "@ant-design/pro-descriptions": "1.10.46", "@ant-design/pro-form": "1.52.14", "@ant-design/pro-layout": "6.34.0", "@ant-design/pro-list": "1.21.22", "@ant-design/pro-table": "2.66.4", "@umijs/route-utils": "^1.0.36", "antd": "4.18.9", "antd-img-crop": "^4.2.4",
我发现貌似是长或宽大于1000时,就会有这种现象,别的小图就不会有
疑是版本对应问题, "antd": "4.18.9", "antd-img-crop": "^4.2.4" antd-img-crop 退回3.16.0后问题解决
第一次或前几次选完图片后 关闭再打开,先选一样的图
部分代码:
<ImgCrop modalTitle="" beforeCrop={beforeCrop}>
依赖:
"@ant-design/icons": "^4.5.0", "@ant-design/pro-card": "1.18.25", "@ant-design/pro-descriptions": "1.10.46", "@ant-design/pro-form": "1.52.14", "@ant-design/pro-layout": "6.34.0", "@ant-design/pro-list": "1.21.22", "@ant-design/pro-table": "2.66.4", "@umijs/route-utils": "^1.0.36", "antd": "4.18.9", "antd-img-crop": "^4.2.4",