Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
amos-convertor-view
Commits
26582b33
Commit
26582b33
authored
Apr 16, 2021
by
王珂
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改样式
parent
199b9e40
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
AmosGridTable.js
...view/bizview/common/tableComponent/table/AmosGridTable.js
+3
-3
No files found.
src/view/bizview/common/tableComponent/table/AmosGridTable.js
View file @
26582b33
...
@@ -169,7 +169,7 @@ class AmosGridTable extends Component {
...
@@ -169,7 +169,7 @@ class AmosGridTable extends Component {
render
()
{
render
()
{
const
{
loading
,
selectedRowKeys
,
size
,
maxHeight
}
=
this
.
state
;
const
{
loading
,
selectedRowKeys
,
size
,
maxHeight
}
=
this
.
state
;
let
{
columns
,
isChecked
,
operateCol
,
isTreeTable
,
isPageable
,
pagination
,
dataList
,
totals
,
rowClassName
,
onRowClick
,
onRowDoubleClick
}
=
this
.
props
;
let
{
columns
,
isChecked
,
operateCol
,
isTreeTable
,
isPageable
,
pagination
,
dataList
,
totals
,
rowClassName
,
onRowClick
,
onRowDoubleClick
}
=
this
.
props
;
console
.
log
(
maxHeight
);
//设置复选框参数
//设置复选框参数
let
rowSelection
=
{
let
rowSelection
=
{
selectedRowKeys
:
this
.
props
.
selectedRowKeys
||
selectedRowKeys
,
selectedRowKeys
:
this
.
props
.
selectedRowKeys
||
selectedRowKeys
,
...
@@ -213,7 +213,7 @@ class AmosGridTable extends Component {
...
@@ -213,7 +213,7 @@ class AmosGridTable extends Component {
}
}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
{
divStyle
}
>
<
div
className
=
{
divStyle
}
style
=
{{
height
:
'calc(100% - 50px)'
}}
>
{
onRowClick
?
{
onRowClick
?
<
Table
<
Table
title
=
{()
=>
(
title
=
{()
=>
(
...
@@ -244,7 +244,7 @@ class AmosGridTable extends Component {
...
@@ -244,7 +244,7 @@ class AmosGridTable extends Component {
rowSelection
=
{
rowSelection
}
rowSelection
=
{
rowSelection
}
columns
=
{
columns
}
columns
=
{
columns
}
dataSource
=
{
dataList
}
dataSource
=
{
dataList
}
pagination
=
{
_pagination
}
pagination
=
{
{
...
_pagination
,
style
:
{
position
:
'fixed'
,
bottom
:
'10px'
,
right
:
'10px'
}
}
}
size
=
{
size
}
size
=
{
size
}
bordered
=
{
bordered
}
bordered
=
{
bordered
}
scroll
=
{{
y
:
maxHeight
}}
scroll
=
{{
y
:
maxHeight
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment