@hw-component/table 0.0.2-beta-v2 → 0.0.2-beta-v3

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.
@@ -12,7 +12,8 @@ var defaultSubItem = {
12
12
  style: {
13
13
  padding: "4px 24px",
14
14
  borderRadius: "4px"
15
- }
15
+ },
16
+ text: "查询"
16
17
  }
17
18
  };
18
19
  function formConfigDataFilter(arr) {
package/es/Table.js CHANGED
@@ -41,7 +41,7 @@ var Table = (function (_ref) {
41
41
  _ref$action = _ref.action,
42
42
  action = _ref$action === void 0 ? {} : _ref$action,
43
43
  _ref$spaceSize = _ref.spaceSize,
44
- spaceSize = _ref$spaceSize === void 0 ? 20 : _ref$spaceSize,
44
+ spaceSize = _ref$spaceSize === void 0 ? 15 : _ref$spaceSize,
45
45
  className = _ref.className,
46
46
  props = _objectWithoutProperties(_ref, _excluded);
47
47
  var saveParams = useMemo(function () {
@@ -13,7 +13,8 @@ var defaultSubItem = {
13
13
  style: {
14
14
  padding: "4px 24px",
15
15
  borderRadius: "4px"
16
- }
16
+ },
17
+ text: "查询"
17
18
  }
18
19
  };
19
20
  function formConfigDataFilter(arr) {
package/lib/Table.js CHANGED
@@ -44,7 +44,7 @@ var Table = (function (_ref) {
44
44
  _ref$action = _ref.action,
45
45
  action = _ref$action === void 0 ? {} : _ref$action,
46
46
  _ref$spaceSize = _ref.spaceSize,
47
- spaceSize = _ref$spaceSize === void 0 ? 20 : _ref$spaceSize,
47
+ spaceSize = _ref$spaceSize === void 0 ? 15 : _ref$spaceSize,
48
48
  className = _ref.className,
49
49
  props = _objectWithoutProperties(_ref, _excluded);
50
50
  var saveParams = React.useMemo(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "0.0.2-beta-v2",
3
+ "version": "0.0.2-beta-v3",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -6,6 +6,7 @@ const defaultSubItem = {
6
6
  itemProps: {
7
7
  extraList: ["submit", "reset"],
8
8
  style: { padding: "4px 24px", borderRadius: "4px" },
9
+ text:"查询"
9
10
  },
10
11
  };
11
12
 
@@ -20,7 +20,7 @@ export default ({
20
20
  footerStyle = {},
21
21
  tableStyle = {},
22
22
  action = {},
23
- spaceSize = 20,
23
+ spaceSize = 15,
24
24
  className,
25
25
  ...props
26
26
  }: HTableProps) => {