@hw-component/table 1.9.70 → 1.9.71

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.
@@ -167,7 +167,11 @@ var Body = (function (bodyProps) {
167
167
  rowKey: rowKey,
168
168
  dataSource: records,
169
169
  pagination: false
170
- })), pagination !== false && jsx(HTablePagination, _objectSpread({
170
+ })), pagination === false ? jsx("div", {
171
+ style: {
172
+ paddingBottom: 24
173
+ }
174
+ }) : jsx(HTablePagination, _objectSpread({
171
175
  onPageChange: onPageChange,
172
176
  paginationStyle: paginationStyle,
173
177
  affixProps: affixProps,
@@ -170,7 +170,11 @@ var Body = (function (bodyProps) {
170
170
  rowKey: rowKey,
171
171
  dataSource: records,
172
172
  pagination: false
173
- })), pagination !== false && jsxRuntime.jsx(index$3.default, _objectSpread({
173
+ })), pagination === false ? jsxRuntime.jsx("div", {
174
+ style: {
175
+ paddingBottom: 24
176
+ }
177
+ }) : jsxRuntime.jsx(index$3.default, _objectSpread({
174
178
  onPageChange: onPageChange,
175
179
  paginationStyle: paginationStyle,
176
180
  affixProps: affixProps,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "1.9.70",
3
+ "version": "1.9.71",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -100,7 +100,6 @@ export default (bodyProps: HTableBodyProps) => {
100
100
  table: tableInstance,
101
101
  localSorter,
102
102
  });
103
-
104
103
  return (
105
104
  <div style={defaultTableStyle} className={`hw_table_body ${className}`}>
106
105
  <Space size={16} direction={"vertical"} style={{ width: "100%" }}>
@@ -140,7 +139,7 @@ export default (bodyProps: HTableBodyProps) => {
140
139
  dataSource={records}
141
140
  pagination={false}
142
141
  />
143
- {pagination !== false && (
142
+ {pagination === false?<div style={{paddingBottom:24}}/>:(
144
143
  <HTablePagination
145
144
  onPageChange={onPageChange}
146
145
  paginationStyle={paginationStyle}