Skip to content

Commit 0a738a3

Browse files
authored
Merge branch 'main' into feat-v4
2 parents 10f990d + a0e9497 commit 0a738a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/upload/demo/upload-manually.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const handleRemove: UploadProps['onRemove'] = file => {
5252
};
5353
5454
const beforeUpload: UploadProps['beforeUpload'] = file => {
55-
fileList.value = [...fileList.value, file];
55+
fileList.value = [...(fileList.value || []), file];
5656
return false;
5757
};
5858

0 commit comments

Comments
 (0)