Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
submodule
Project
Project
Details
Activity
Releases
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
web_component
submodule
Commits
033da954
Commit
033da954
authored
Jun 24, 2020
by
zhangwenshuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cell数据重新匹配
parent
bc91eedb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Table.tsx
components/apolloTable/component/Table.tsx
+5
-1
No files found.
components/apolloTable/component/Table.tsx
View file @
033da954
...
...
@@ -345,7 +345,11 @@ export default class AirTable extends Component<TableProps, TableState> {
const
record
:
any
=
dataSource
[
rowIndex
];
// 行数据
const
rowData
:
any
=
showData
[
rowIndex
];
// 行数据
const
columnConfig
:
any
=
showColumns
[
columnIndex
];
// 列属性
const
columnData
:
any
=
rowData
.
rowData
[
columnIndex
];
// 列数据
// const columnData: any = rowData.rowData[columnIndex]; // 列数据
const
columnData
:
any
=
rowData
.
rowData
.
find
((
temp
)
=>
{
return
temp
.
colName
===
columnConfig
.
columnName
;
});
// 列数据
const
cellData
:
any
=
columnData
&&
columnData
.
cellValueList
;
// 列数据
const
{
cellClassName
,
cellStyle
,
bordered
=
false
}
=
columnConfig
;
...
...
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