fix: table update height error #33

pull/165/head
tjz 2018-06-11 22:23:10 +08:00
parent 17e0962d08
commit 97b86bd19c
1 changed files with 3 additions and 5 deletions

View File

@ -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 () {