update Transfer

update Transfer
This commit is contained in:
梁灏 2016-11-18 15:51:54 +08:00
parent dcc061279a
commit 4997bd42dd
4 changed files with 11 additions and 9 deletions

View file

@ -57,7 +57,8 @@
return [
`${this.prefixCls}-body`,
{
[`${this.prefixCls}-body-with-search`]: this.filterable
[`${this.prefixCls}-body-with-search`]: this.filterable,
[`${this.prefixCls}-body-with-footer`]: this.showFooter
}
]
},
@ -100,7 +101,7 @@
this.updateFilteredData();
},
ready () {
compiled () {
this.showFooter = this.$els.footer.innerHTML !== '';
},
watch: {