From 026f07293a3bfa85aeaddd6bdff1f4d2021d8675 Mon Sep 17 00:00:00 2001 From: Junan Date: Thu, 20 Sep 2018 17:24:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E5=B1=95=E5=BC=80=E6=88=96?= =?UTF-8?q?=E7=BC=A9=E8=BF=9B=E7=9A=84=E6=97=B6=E5=80=99=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E8=A1=A8=E6=A0=BC=E9=AB=98=E5=BA=A6=EF=BC=8C?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E8=AF=A5=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/table.vue | 4 ++++ 1 file changed, 4 insertions(+) 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) => {