@pnkx-lib/ui 1.9.256 → 1.9.257
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/ui/index.js +1 -4
- package/package.json +1 -1
package/es/ui/index.js
CHANGED
|
@@ -4629,7 +4629,7 @@ const SettingTable = (props) => {
|
|
|
4629
4629
|
const handleOkModal = () => {
|
|
4630
4630
|
setOpen(false);
|
|
4631
4631
|
};
|
|
4632
|
-
const onSubmit = (
|
|
4632
|
+
const onSubmit = () => {
|
|
4633
4633
|
setOpen(false);
|
|
4634
4634
|
if (setDefaultSettingColumnItems) {
|
|
4635
4635
|
setDefaultSettingColumnItems(columns);
|
|
@@ -4686,7 +4686,6 @@ const SettingTable = (props) => {
|
|
|
4686
4686
|
open,
|
|
4687
4687
|
title: title || titleHeader(),
|
|
4688
4688
|
closable: true,
|
|
4689
|
-
onClose: handleCloseModal,
|
|
4690
4689
|
onOk: handleOkModal,
|
|
4691
4690
|
className: "setting-table-modal",
|
|
4692
4691
|
footer: null,
|
|
@@ -5165,8 +5164,6 @@ const useTableHeightWrapper = (options = {}) => {
|
|
|
5165
5164
|
}
|
|
5166
5165
|
});
|
|
5167
5166
|
const wrapperStyles = window.getComputedStyle(layoutWrapper);
|
|
5168
|
-
const wrapperPaddingTop = parseInt(wrapperStyles.paddingTop, 10) || 0;
|
|
5169
|
-
const wrapperPaddingBottom = parseInt(wrapperStyles.paddingBottom, 10) || 0;
|
|
5170
5167
|
const tableStyles = window.getComputedStyle(tableContainer);
|
|
5171
5168
|
const tablePaddingTop = parseInt(tableStyles.paddingTop, 10) || 0;
|
|
5172
5169
|
const tablePaddingBottom = parseInt(tableStyles.paddingBottom, 10) || 0;
|