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) {
|
if (this.showFileList) {
|
||||||
uploadList = (
|
uploadList = (
|
||||||
|
<slot :file-list="this.uploadFiles">
|
||||||
<UploadList
|
<UploadList
|
||||||
disabled={this.uploadDisabled}
|
disabled={this.uploadDisabled}
|
||||||
listType={this.listType}
|
listType={this.listType}
|
||||||
|
@ -286,6 +287,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</UploadList>
|
</UploadList>
|
||||||
|
</slot>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue