Merge branch 'main' into feat-v4

feat-v4
tangjinzhou 1 year ago committed by GitHub
commit 0a738a36b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,7 +52,7 @@ const handleRemove: UploadProps['onRemove'] = file => {
};
const beforeUpload: UploadProps['beforeUpload'] = file => {
fileList.value = [...fileList.value, file];
fileList.value = [...(fileList.value || []), file];
return false;
};

Loading…
Cancel
Save