zy-react-library 1.0.88 → 1.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import TablePro from "@cqsjjb/jjb-react-admin-component/Table";
|
|
2
2
|
import { getIndexColumn } from "../../utils/index";
|
|
3
3
|
import "./index.less";
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ function Table(props) {
|
|
|
15
15
|
showIndexColumn && columns.unshift({...getIndexColumn(props.pagination), fixed: indexColumnFixed});
|
|
16
16
|
return columns.map(item => ({ align: useAlignCenter ? "center" : "left", ...item }));
|
|
17
17
|
}
|
|
18
|
-
return <
|
|
18
|
+
return <TablePro rowKey={rowKey} columns={calcColumns()} {...restProps} />;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export default Table;
|