From a916adc042de367687a72fc0004bd7646b173d74 Mon Sep 17 00:00:00 2001 From: yangchch6 Date: Wed, 7 Aug 2019 16:38:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Table.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Table.js b/src/Table.js index cbea928..4e0d99e 100644 --- a/src/Table.js +++ b/src/Table.js @@ -210,6 +210,7 @@ class Table extends Component { this.resetScrollX(); } // fix:模态框中使用table,计算的滚动条宽度为0的bug + // fix:表格首次渲染时 display:none,再显示时,未重新计算,导致表行出现错位的bug if(this.scrollbarWidth<=0 && this.props.scroll.y){ this.scrollbarWidth = measureScrollbar(); }