fix: table update height error #13
parent
17e0962d08
commit
a39b86698e
|
@ -27,11 +27,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
updateTableRef () {
|
||||
this.$nextTick(() => {
|
||||
this.$refs.fixedColumnsBodyLeft && this.table.saveChildrenRef('fixedColumnsBodyLeft', this.$refs.fixedColumnsBodyLeft)
|
||||
this.$refs.fixedColumnsBodyRight && this.table.saveChildrenRef('fixedColumnsBodyRight', this.$refs.fixedColumnsBodyRight)
|
||||
this.$refs.bodyTable && this.table.saveChildrenRef('bodyTable', this.$refs.bodyTable)
|
||||
})
|
||||
this.$refs.fixedColumnsBodyLeft && this.table.saveChildrenRef('fixedColumnsBodyLeft', this.$refs.fixedColumnsBodyLeft)
|
||||
this.$refs.fixedColumnsBodyRight && this.table.saveChildrenRef('fixedColumnsBodyRight', this.$refs.fixedColumnsBodyRight)
|
||||
this.$refs.bodyTable && this.table.saveChildrenRef('bodyTable', this.$refs.bodyTable)
|
||||
},
|
||||
},
|
||||
render () {
|
||||
|
|
Loading…
Reference in New Issue