Commit d3d5555e authored by zhangwenshuai's avatar zhangwenshuai

fix

parent c2b0f651
...@@ -73,11 +73,11 @@ export default class TableColumn extends PureComponent<ColumnProps> { ...@@ -73,11 +73,11 @@ export default class TableColumn extends PureComponent<ColumnProps> {
showIndex, showIndex,
columnIndex, columnIndex,
questionText, questionText,
remark,
rowSelection, rowSelection,
icon, icon,
required, required,
leftMargin = 0, leftMargin = 0,
columnAttrObj,
} = this.props; } = this.props;
const { value = [] } = sortConfig || {}; const { value = [] } = sortConfig || {};
const sort = value.find((item: any) => { const sort = value.find((item: any) => {
...@@ -91,6 +91,7 @@ export default class TableColumn extends PureComponent<ColumnProps> { ...@@ -91,6 +91,7 @@ export default class TableColumn extends PureComponent<ColumnProps> {
marginLeft = `${leftMargin + 70}px`; marginLeft = `${leftMargin + 70}px`;
} }
} }
const { remark } = columnAttrObj || {};
const tip = remark || questionText; const tip = remark || questionText;
return ( return (
<div className={s.colContainer}> <div className={s.colContainer}>
......
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