mirror of https://github.com/ElemeFE/element
Add a slot to the file-list
parent
473ef53f93
commit
516fe58bd8
|
@ -270,6 +270,7 @@ export default {
|
|||
|
||||
if (this.showFileList) {
|
||||
uploadList = (
|
||||
<slot :file-list="this.uploadFiles">
|
||||
<UploadList
|
||||
disabled={this.uploadDisabled}
|
||||
listType={this.listType}
|
||||
|
@ -286,6 +287,7 @@ export default {
|
|||
}
|
||||
}
|
||||
</UploadList>
|
||||
</slot>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue