fix: table update height error #33

pull/77/merge
tjz 7 years ago
parent c0457ef4a8
commit e629c8f89a

@ -27,11 +27,9 @@ export default {
}, },
methods: { methods: {
updateTableRef () { updateTableRef () {
this.$nextTick(() => { this.$refs.fixedColumnsBodyLeft && this.table.saveChildrenRef('fixedColumnsBodyLeft', this.$refs.fixedColumnsBodyLeft)
this.$refs.fixedColumnsBodyLeft && this.table.saveChildrenRef('fixedColumnsBodyLeft', this.$refs.fixedColumnsBodyLeft) this.$refs.fixedColumnsBodyRight && this.table.saveChildrenRef('fixedColumnsBodyRight', this.$refs.fixedColumnsBodyRight)
this.$refs.fixedColumnsBodyRight && this.table.saveChildrenRef('fixedColumnsBodyRight', this.$refs.fixedColumnsBodyRight) this.$refs.bodyTable && this.table.saveChildrenRef('bodyTable', this.$refs.bodyTable)
this.$refs.bodyTable && this.table.saveChildrenRef('bodyTable', this.$refs.bodyTable)
})
}, },
}, },
render () { render () {

Loading…
Cancel
Save