优化Table
parent
28d281210b
commit
4f0f365742
|
|
@ -1,4 +1,4 @@
|
|||
import Table from "@cqsjjb/jjb-react-admin-component/Table";
|
||||
import TablePro from "@cqsjjb/jjb-react-admin-component/Table";
|
||||
import { getIndexColumn } from "../../utils/index";
|
||||
import "./index.less";
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ function Table(props) {
|
|||
showIndexColumn && columns.unshift({...getIndexColumn(props.pagination), fixed: indexColumnFixed});
|
||||
return columns.map(item => ({ align: useAlignCenter ? "center" : "left", ...item }));
|
||||
}
|
||||
return <Table rowKey={rowKey} columns={calcColumns()} {...restProps} />;
|
||||
return <TablePro rowKey={rowKey} columns={calcColumns()} {...restProps} />;
|
||||
}
|
||||
|
||||
export default Table;
|
||||
|
|
|
|||
Loading…
Reference in New Issue