diff --git a/components/vc-table/src/BodyTable.jsx b/components/vc-table/src/BodyTable.jsx index e4812a22d..bc5e8632b 100644 --- a/components/vc-table/src/BodyTable.jsx +++ b/components/vc-table/src/BodyTable.jsx @@ -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 () {