Commit 033da954 authored by zhangwenshuai's avatar zhangwenshuai

cell数据重新匹配

parent bc91eedb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment