diff --git a/packages/upload/src/index.vue b/packages/upload/src/index.vue index e73565359..51fd28129 100644 --- a/packages/upload/src/index.vue +++ b/packages/upload/src/index.vue @@ -270,22 +270,24 @@ export default { if (this.showFileList) { uploadList = ( - - { - (props) => { - if (this.$scopedSlots.file) { - return this.$scopedSlots.file({ - file: props.file - }); + + + { + (props) => { + if (this.$scopedSlots.file) { + return this.$scopedSlots.file({ + file: props.file + }); + } } } - } - + + ); }