@yoooloo42/joker 1.0.157 → 1.0.158
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/dist/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -6
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -41995,12 +41995,12 @@ const hdl = {
|
|
|
41995
41995
|
},
|
|
41996
41996
|
pageSizeChange(pageSize) {
|
|
41997
41997
|
// 重新分页
|
|
41998
|
-
|
|
41999
|
-
|
|
41998
|
+
tableData_box.pageSize = pageSize;
|
|
41999
|
+
tableData_box.currentPage = 1;
|
|
42000
42000
|
},
|
|
42001
42001
|
currentPageChange(currentPage) {
|
|
42002
42002
|
// 修改当前页号
|
|
42003
|
-
|
|
42003
|
+
tableData_box.currentPage = currentPage;
|
|
42004
42004
|
}
|
|
42005
42005
|
};
|
|
42006
42006
|
|
|
@@ -42365,9 +42365,9 @@ return (_ctx, _cache) => {
|
|
|
42365
42365
|
createCommentVNode(" 分页 "),
|
|
42366
42366
|
createVNode(_component_el_pagination, {
|
|
42367
42367
|
total: unref(tableData_box).total,
|
|
42368
|
-
"page-size": unref(
|
|
42369
|
-
"page-sizes": [unref(
|
|
42370
|
-
"current-page": unref(
|
|
42368
|
+
"page-size": unref(tableData_box).pageSize,
|
|
42369
|
+
"page-sizes": [unref(tableData_box).pageSize],
|
|
42370
|
+
"current-page": unref(tableData_box).currentPage,
|
|
42371
42371
|
style: normalizeStyle(style.pagination),
|
|
42372
42372
|
onSizeChange: hdl.pageSizeChange,
|
|
42373
42373
|
onCurrentChange: hdl.currentPageChange,
|