@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.
package/es/HTableBody/index.js
CHANGED
|
@@ -167,7 +167,11 @@ var Body = (function (bodyProps) {
|
|
|
167
167
|
rowKey: rowKey,
|
|
168
168
|
dataSource: records,
|
|
169
169
|
pagination: false
|
|
170
|
-
})), pagination
|
|
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,
|
package/lib/HTableBody/index.js
CHANGED
|
@@ -170,7 +170,11 @@ var Body = (function (bodyProps) {
|
|
|
170
170
|
rowKey: rowKey,
|
|
171
171
|
dataSource: records,
|
|
172
172
|
pagination: false
|
|
173
|
-
})), pagination
|
|
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
|
@@ -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
|
|
142
|
+
{pagination === false?<div style={{paddingBottom:24}}/>:(
|
|
144
143
|
<HTablePagination
|
|
145
144
|
onPageChange={onPageChange}
|
|
146
145
|
paginationStyle={paginationStyle}
|