🐛(upload): 修复 cutOptions 非必填, 因为 cut 会有 false 的情况

This commit is contained in:
就眠儀式 2022-06-25 22:06:01 +08:00
parent 1764087fa9
commit 7c9dc3815f

View File

@ -64,7 +64,7 @@ export interface LayUploadProps {
disabled?: boolean;
disabledPreview?: boolean;
cut?: boolean;
cutOptions: cutOptions;
cutOptions?: cutOptions;
}
const getCutDownResult = () => {