From f8b5ebb601d82f6feb907e73f77bb21e3790f6c8 Mon Sep 17 00:00:00 2001 From: ShanaMaid Date: Fri, 21 Dec 2018 12:06:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E8=B6=85=E8=BF=87table=E6=97=B6=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Table/Table.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Table/Table.tsx b/components/Table/Table.tsx index 3a632c6..aa0cf1d 100644 --- a/components/Table/Table.tsx +++ b/components/Table/Table.tsx @@ -374,7 +374,7 @@ export class Table extends Component { const scrollX = scroll!.x; const width = typeof scrollX === 'boolean' && scrollX ? undefined : scrollX ? scrollX : undefined; const style = fixedTitle ? { - width, + minWidth: width, } : {}; return ( @@ -392,7 +392,7 @@ export class Table extends Component { const scrollX = scroll!.x; const width = typeof scrollX === 'boolean' && scrollX ? undefined : scrollX ? scrollX : undefined; const style = fixedTitle ? { - width, + minWidth: width, } : {}; return (