@sunggang/ui-lib 0.1.82 → 0.1.83
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/index.esm.js +7 -3
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -81740,10 +81740,14 @@ var BaseTable = function(param) {
|
|
|
81740
81740
|
manualPagination: true,
|
|
81741
81741
|
onPaginationChange: function(updater) {
|
|
81742
81742
|
if (typeof updater === "function") {
|
|
81743
|
-
|
|
81744
|
-
pageIndex: page,
|
|
81743
|
+
var newPagination = updater({
|
|
81744
|
+
pageIndex: page - 1,
|
|
81745
81745
|
pageSize: limit
|
|
81746
|
-
})
|
|
81746
|
+
});
|
|
81747
|
+
paginationConfig.onPageChange({
|
|
81748
|
+
pageIndex: newPagination.pageIndex + 1,
|
|
81749
|
+
pageSize: newPagination.pageSize
|
|
81750
|
+
});
|
|
81747
81751
|
}
|
|
81748
81752
|
}
|
|
81749
81753
|
});
|