@ -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;