Browse Source

Merge branch 'main' into feat-v4

feat-v4
tangjinzhou 1 year ago committed by GitHub
parent
commit
0a738a36b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/upload/demo/upload-manually.vue

2
components/upload/demo/upload-manually.vue

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