diff --git a/src/components/table/table.vue b/src/components/table/table.vue index 5a863215..dc930cc6 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -529,6 +529,10 @@ const status = !data._isExpanded; this.objData[_index]._isExpanded = status; this.$emit('on-expand', JSON.parse(JSON.stringify(this.cloneData[_index])), status); + + if(this.height){ + this.$nextTick(()=>this.fixedBody()); + } }, selectAll (status) { // this.rebuildData.forEach((data) => {