feat: table customRender multiple params
parent
f0337cebde
commit
a43655b0b5
|
@ -70,7 +70,7 @@ export default {
|
||||||
let rowSpan;
|
let rowSpan;
|
||||||
|
|
||||||
if (customRender) {
|
if (customRender) {
|
||||||
text = customRender({ text, record, index, column });
|
text = customRender(text, record, index, column);
|
||||||
if (isInvalidRenderCellText(text)) {
|
if (isInvalidRenderCellText(text)) {
|
||||||
tdProps = text.props || tdProps;
|
tdProps = text.props || tdProps;
|
||||||
({ colSpan, rowSpan } = tdProps);
|
({ colSpan, rowSpan } = tdProps);
|
||||||
|
|
Loading…
Reference in New Issue