@yoooloo42/joker 1.0.167 → 1.0.169

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.esm.js CHANGED
@@ -22762,9 +22762,9 @@ const popupFind = async _ref5 => {
22762
22762
  scopeThis
22763
22763
  } = _ref5;
22764
22764
  unclassified.deepClone.replaceObject(scopeThis.formData, scopeThis.query.formData);
22765
- scopeThis.tableData.query.sort = scopeThis.query && scopeThis.query.sort ? JSON.parse(JSON.stringify(scopeThis.query.sort)) : null;
22766
- scopeThis.tableData.query.pageSize = scopeThis.query && scopeThis.query.pageSize ? scopeThis.query.pageSize : ly0default$4.pageSize;
22767
- scopeThis.tableData.query.currentPage = scopeThis.query && scopeThis.query.currentPage ? scopeThis.query.currentPage : 1;
22765
+ scopeThis.tableData.sort = scopeThis.query && scopeThis.query.sort ? JSON.parse(JSON.stringify(scopeThis.query.sort)) : null;
22766
+ scopeThis.tableData.pageSize = scopeThis.query && scopeThis.query.pageSize ? scopeThis.query.pageSize : ly0default$4.pageSize;
22767
+ scopeThis.tableData.currentPage = scopeThis.query && scopeThis.query.currentPage ? scopeThis.query.currentPage : 1;
22768
22768
  unclassified.deepClone.replaceObject(scopeThis.formProps, scopeThis.find.formProps);
22769
22769
  // 弹出窗口
22770
22770
  unclassified.deepClone.deepMerge(scopeThis.formProps.popup, {
@@ -22819,9 +22819,9 @@ const submitFind = async _ref9 => {
22819
22819
  scopeThis
22820
22820
  } = _ref9;
22821
22821
  unclassified.deepClone.replaceObject(scopeThis.query.formData, scopeThis.formData);
22822
- scopeThis.query.sort = scopeThis.tableData.query && scopeThis.tableData.query.sort ? JSON.parse(JSON.stringify(scopeThis.tableData.query.sort)) : null;
22823
- scopeThis.query.pageSize = scopeThis.tableData.query && scopeThis.tableData.query.pageSize ? scopeThis.tableData.query.pageSize : ly0default$4.pageSize;
22824
- scopeThis.query.currentPage = scopeThis.tableData.query && scopeThis.tableData.query.currentPage ? scopeThis.tableData.query.currentPage : 1;
22822
+ scopeThis.query.sort = !!scopeThis.tableData.sort ? JSON.parse(JSON.stringify(scopeThis.tableData.sort)) : null;
22823
+ scopeThis.query.pageSize = !!scopeThis.tableData.pageSize ? scopeThis.tableData.pageSize : ly0default$4.pageSize;
22824
+ scopeThis.query.currentPage = !!scopeThis.tableData.currentPage ? scopeThis.tableData.currentPage : ly0default$4.currentPage;
22825
22825
  const result = await refresh({
22826
22826
  scopeThis
22827
22827
  });
@@ -42486,15 +42486,12 @@ var ly0default$1 = {
42486
42486
  modelValue: {
42487
42487
  data: [],
42488
42488
  total: 0,
42489
- query: {
42490
- formData: null,
42491
- sort: {
42492
- label: "",
42493
- order: ""
42494
- },
42495
- pageSize: 10,
42496
- currentPage: 1
42497
- }
42489
+ sort: {
42490
+ label: "",
42491
+ order: ""
42492
+ },
42493
+ pageSize: 10,
42494
+ currentPage: 1
42498
42495
  }
42499
42496
  };
42500
42497