Skip to content

Commit

Permalink
feat: 样式优化
Browse files Browse the repository at this point in the history
  • Loading branch information
xucz committed May 4, 2022
1 parent 07c81a1 commit 75494c4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/pages/Detail/Advanced/components/Detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ const Detail = () => (
},
]}
rowKey='id'
tableLayout='auto'
verticalAlign='top'
hover
pagination={{
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Detail/Deploy/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const nameSorter: SorterFun<TableRowData> = (a, b) => {

export const TABLE_COLUMNS: TdPrimaryTableProps['columns'] = [
{
minWidth: '448',
width: '448',
ellipsis: true,
colKey: 'name',
title: '项目名称',
Expand Down
7 changes: 3 additions & 4 deletions src/pages/List/Base/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ export default memo(() => {
colKey: 'row-select',
fixed: 'left',
type: 'multiple',
width: 50,
// width: 50,
},
{
align: 'left',
width: 50,
width: 200,
ellipsis: true,
colKey: 'name',
title: '合同名称',
Expand Down Expand Up @@ -167,7 +167,7 @@ export default memo(() => {
{
align: 'left',
fixed: 'right',
width: 200,
width: 180,
colKey: 'op',
title: '操作',
cell() {
Expand All @@ -188,7 +188,6 @@ export default memo(() => {
data={contractList}
rowKey='index'
selectedRowKeys={selectedRowKeys}
tableLayout='auto'
verticalAlign='top'
hover
onSelectChange={onSelectChange}
Expand Down
1 change: 0 additions & 1 deletion src/pages/List/Select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export const SelectTable = () => {
]}
rowKey='index'
selectedRowKeys={selectedRowKeys}
tableLayout='auto'
hover
onSelectChange={onSelectChange}
pagination={{
Expand Down

0 comments on commit 75494c4

Please sign in to comment.