@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 CHANGED
@@ -22806,6 +22806,7 @@ const pageSizeChange = async _ref3 => {
22806
22806
  pageSize,
22807
22807
  scopeThis
22808
22808
  } = _ref3;
22809
+ console.log('测试 555 页记录数改变');
22809
22810
  scopeThis.query.pageSize = pageSize;
22810
22811
  scopeThis.query.currentPage = 1;
22811
22812
  await reload({
@@ -22819,6 +22820,7 @@ const currentPageChange = async _ref4 => {
22819
22820
  currentPage,
22820
22821
  scopeThis
22821
22822
  } = _ref4;
22823
+ console.log('测试 666 当前页码改变');
22822
22824
  scopeThis.query.currentPage = currentPage;
22823
22825
  await reload({
22824
22826
  scopeThis
@@ -22849,6 +22851,7 @@ const init = async _ref6 => {
22849
22851
  let {
22850
22852
  scopeThis
22851
22853
  } = _ref6;
22854
+ console.log('测试 444 初始化');
22852
22855
  scopeThis.tableProps.table.hdlPageSizeChanged = pageSizeChange;
22853
22856
  scopeThis.tableProps.table.hdlCurrentPageChanged = currentPageChange;
22854
22857
  if (scopeThis.pgData) {
@@ -42073,19 +42076,31 @@ const hdl = {
42073
42076
  fileName: src ? fileName : tableProps_box.table.colShow.download.fileName
42074
42077
  }
42075
42078
  },
42076
- pageSizeChange(pageSize) {
42079
+ async pageSizeChange(pageSize) {
42080
+
42081
+ console.log('测试 000 页记录数改变');
42082
+
42077
42083
  // 页记录数改变
42078
42084
  tableData_box.pageSize = pageSize;
42079
42085
  tableData_box.currentPage = 1;
42080
42086
  if(tableProps_box.table.hdlPageSizeChange){
42081
- tableProps_box.table.hdlPageSizeChange({pageSize, scopeThis: scopeThis_box});
42087
+
42088
+ console.log('测试 111');
42089
+
42090
+ await tableProps_box.table.hdlPageSizeChange({pageSize, scopeThis: scopeThis_box});
42082
42091
  }
42083
42092
  },
42084
- currentPageChange(currentPage) {
42093
+ async currentPageChange(currentPage) {
42094
+
42095
+ console.log('测试 222 当前页码改变');
42096
+
42085
42097
  // 当前页码改变
42086
42098
  tableData_box.currentPage = currentPage;
42087
42099
  if(tableProps_box.table.hdlCurrentPageChange){
42088
- tableProps_box.table.hdlCurrentPageChange({currentPage, scopeThis: scopeThis_box});
42100
+
42101
+ console.log('测试 333');
42102
+
42103
+ await tableProps_box.table.hdlCurrentPageChange({currentPage, scopeThis: scopeThis_box});
42089
42104
  }
42090
42105
  }
42091
42106
  };