From 53a2acd6e491856a0c190bf170280f9f6d32c1fb Mon Sep 17 00:00:00 2001 From: xjh22222228 Date: Sat, 26 Sep 2020 17:01:16 +0800 Subject: [PATCH] fix: Table Fixed --- .env | 2 +- src/components/table/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 94ff19e..08a7f52 100755 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ -APP_PROXY=https://work.xiejiahe.com +APP_PROXY=https://work.xiejiahe.com/ PORT=9663 PUBLIC_URL=/ \ No newline at end of file diff --git a/src/components/table/index.tsx b/src/components/table/index.tsx index 7f79abc..750cf44 100755 --- a/src/components/table/index.tsx +++ b/src/components/table/index.tsx @@ -186,7 +186,7 @@ const TableFC: FC = ({ loading={state.isLoading} columns={state.columns} dataSource={state.tableDataSource} - scroll={{ y: state.tableHeight + 'px' }} + scroll={{ y: state.tableHeight + 'px', x: 1200 }} showHeader={state.tableDataSource.length} onChange={onChange} rowSelection={rowSelection}