diff --git a/packages/upload/src/index.vue b/packages/upload/src/index.vue index 1c91963c06..4ca232ef3e 100644 --- a/packages/upload/src/index.vue +++ b/packages/upload/src/index.vue @@ -191,7 +191,7 @@ export default defineComponent({ handlePreview: this.onPreview, }, { - file: (props: { file: UploadFile; }) => { + default: (props: { file: UploadFile; }) => { if (this.$slots.file) { return this.$slots.file({ file: props.file,