Skip to content

Commit

Permalink
fix: Table Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
xjh22222228 committed Sep 26, 2020
1 parent e500192 commit 53a2acd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
APP_PROXY=https://work.xiejiahe.com
APP_PROXY=https://work.xiejiahe.com/
PORT=9663
PUBLIC_URL=/
2 changes: 1 addition & 1 deletion src/components/table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const TableFC: FC<Props> = ({
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}
Expand Down

0 comments on commit 53a2acd

Please sign in to comment.