+ {columnList.map((item) => {
+ const { dataIndex = '', customRender, align = 'center' } = item;
+ const render = customRender && isFunction(customRender);
+ return (
+
+ {render
+ ? customRender?.({ text: record[dataIndex], record })
+ : record[dataIndex]}
+ |
+ );
+ })}
+
);
})}
-
-
-