@hw-component/table 0.0.7-beta-v9 → 0.0.7-beta-v10

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.
@@ -83,7 +83,8 @@ var Body = (function (_ref) {
83
83
  records = _ref2.records;
84
84
  var _useCols = useCols({
85
85
  configData: bodyConfigData,
86
- table: tableInstance
86
+ table: tableInstance,
87
+ rowSelection: rowSelection
87
88
  }),
88
89
  cols = _useCols.cols,
89
90
  changeCols = _useCols.changeCols;
@@ -86,7 +86,8 @@ var Body = (function (_ref) {
86
86
  records = _ref2.records;
87
87
  var _useCols = hooks.useCols({
88
88
  configData: bodyConfigData,
89
- table: tableInstance
89
+ table: tableInstance,
90
+ rowSelection: rowSelection
90
91
  }),
91
92
  cols = _useCols.cols,
92
93
  changeCols = _useCols.changeCols;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "0.0.7-beta-v9",
3
+ "version": "0.0.7-beta-v10",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -11,7 +11,7 @@ import { ColsSettingContent } from "./Content";
11
11
  import { Title } from "./Title";
12
12
  import type { IProps } from "./modal";
13
13
  import { useHTableContext } from "../../context";
14
- import {defaultKeys} from "@/components/HTableBody/Options/utils";
14
+ import {defaultKeys} from "./utils";
15
15
  export default ({
16
16
  reload,
17
17
  size = "middle",
@@ -78,6 +78,7 @@ export default ({
78
78
  const { cols, changeCols } = useCols({
79
79
  configData: bodyConfigData,
80
80
  table: tableInstance,
81
+ rowSelection
81
82
  });
82
83
  useSynchronousKeys({ selectedRowKeys, records, rowKey });
83
84
 
@@ -54,7 +54,9 @@ export default () => {
54
54
  configData={configData}
55
55
  rowKey={"id"}
56
56
  table={hTable}
57
- rowSelection={{}}
57
+ rowSelection={{
58
+ allPageCheck:false
59
+ }}
58
60
  affixProps={{
59
61
  target: () => document.querySelector(".body"),
60
62
  }}