Commit 0851954f authored by zhangwenshuai's avatar zhangwenshuai

update

parent b59fdde2
......@@ -79,7 +79,7 @@ const Cell = (props: CellProps) => {
return;
}
let temp: CellDataProps[] = [];
cellData.map((item: CellDataProps) => {
cellData && cellData.map((item: CellDataProps) => {
temp.push({ text: item.text, value: item.value });
});
if (temp.length === 0) {
......
......@@ -332,6 +332,7 @@ export default class AirTable extends Component<TableProps, TableState> {
onEmitMsg,
tableId,
renderFirstLeft,
bordered = false,
} = this.props;
if (showColumns.length === 0 || showData.length === 0) {
return;
......@@ -346,7 +347,7 @@ export default class AirTable extends Component<TableProps, TableState> {
const cellData: any = columnData && columnData.cellValueList; // 列数据
const { cellClassName, cellStyle, bordered = false } = columnConfig;
const { cellClassName, cellStyle } = columnConfig;
const rowClassNameStr = getMergeClassName(styles.bodyRow, rowClassName, { rowIndex });
const rowStyleObj = getMergeStyle({}, rowStyle, { rowIndex });
......
......@@ -89,9 +89,9 @@ export const ApolloTextArea = (props: ApolloTextAreaProps) => {
if (newValue) {
newValue = newValue[0] && newValue[0].value;
setCurValue(newValue);
setVisible(true);
}
}
setVisible(true);
};
if (origin === 'editForm') {
return (
......
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