@yoooloo42/joker 1.0.216 → 1.0.217
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 +19 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +19 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -22802,6 +22802,7 @@ const pageSizeChange = async _ref3 => {
|
|
|
22802
22802
|
pageSize,
|
|
22803
22803
|
scopeThis
|
|
22804
22804
|
} = _ref3;
|
|
22805
|
+
console.log('测试 555 页记录数改变');
|
|
22805
22806
|
scopeThis.query.pageSize = pageSize;
|
|
22806
22807
|
scopeThis.query.currentPage = 1;
|
|
22807
22808
|
await reload({
|
|
@@ -22815,6 +22816,7 @@ const currentPageChange = async _ref4 => {
|
|
|
22815
22816
|
currentPage,
|
|
22816
22817
|
scopeThis
|
|
22817
22818
|
} = _ref4;
|
|
22819
|
+
console.log('测试 666 当前页码改变');
|
|
22818
22820
|
scopeThis.query.currentPage = currentPage;
|
|
22819
22821
|
await reload({
|
|
22820
22822
|
scopeThis
|
|
@@ -22845,6 +22847,7 @@ const init = async _ref6 => {
|
|
|
22845
22847
|
let {
|
|
22846
22848
|
scopeThis
|
|
22847
22849
|
} = _ref6;
|
|
22850
|
+
console.log('测试 444 初始化');
|
|
22848
22851
|
scopeThis.tableProps.table.hdlPageSizeChanged = pageSizeChange;
|
|
22849
22852
|
scopeThis.tableProps.table.hdlCurrentPageChanged = currentPageChange;
|
|
22850
22853
|
if (scopeThis.pgData) {
|
|
@@ -42069,19 +42072,31 @@ const hdl = {
|
|
|
42069
42072
|
fileName: src ? fileName : tableProps_box.table.colShow.download.fileName
|
|
42070
42073
|
}
|
|
42071
42074
|
},
|
|
42072
|
-
pageSizeChange(pageSize) {
|
|
42075
|
+
async pageSizeChange(pageSize) {
|
|
42076
|
+
|
|
42077
|
+
console.log('测试 000 页记录数改变');
|
|
42078
|
+
|
|
42073
42079
|
// 页记录数改变
|
|
42074
42080
|
tableData_box.pageSize = pageSize;
|
|
42075
42081
|
tableData_box.currentPage = 1;
|
|
42076
42082
|
if(tableProps_box.table.hdlPageSizeChange){
|
|
42077
|
-
|
|
42083
|
+
|
|
42084
|
+
console.log('测试 111');
|
|
42085
|
+
|
|
42086
|
+
await tableProps_box.table.hdlPageSizeChange({pageSize, scopeThis: scopeThis_box});
|
|
42078
42087
|
}
|
|
42079
42088
|
},
|
|
42080
|
-
currentPageChange(currentPage) {
|
|
42089
|
+
async currentPageChange(currentPage) {
|
|
42090
|
+
|
|
42091
|
+
console.log('测试 222 当前页码改变');
|
|
42092
|
+
|
|
42081
42093
|
// 当前页码改变
|
|
42082
42094
|
tableData_box.currentPage = currentPage;
|
|
42083
42095
|
if(tableProps_box.table.hdlCurrentPageChange){
|
|
42084
|
-
|
|
42096
|
+
|
|
42097
|
+
console.log('测试 333');
|
|
42098
|
+
|
|
42099
|
+
await tableProps_box.table.hdlCurrentPageChange({currentPage, scopeThis: scopeThis_box});
|
|
42085
42100
|
}
|
|
42086
42101
|
}
|
|
42087
42102
|
};
|