publish 0.9.9-rc-6

Table size add default
Table height bug fixed
This commit is contained in:
梁灏 2016-12-02 11:23:46 +08:00
parent 728d5812d2
commit f2a051a100
3 changed files with 145 additions and 82 deletions

View file

@ -92,7 +92,7 @@
},
size: {
validator (value) {
return oneOf(value, ['small', 'large']);
return oneOf(value, ['small', 'large', 'default']);
}
},
width: {
@ -341,6 +341,8 @@
const footerHeight = parseInt(getStyle(this.$els.footer, 'height')) || 0;
this.bodyHeight = this.height - titleHeight - headerHeight - footerHeight;
})
} else {
this.bodyHeight = 0;
}
},
hideColumnFilter () {
@ -542,6 +544,7 @@
},
columns: {
handler () {
// todo
this.cloneColumns = this.makeColumns();
this.rebuildData = this.makeDataWithSortAndFilter();
this.handleResize();