@yoooloo42/joker 1.0.173 → 1.0.174

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
@@ -22715,7 +22715,7 @@ const reload = async _ref2 => {
22715
22715
  let {
22716
22716
  scopeThis
22717
22717
  } = _ref2;
22718
- unclassified.deepClone.replaceObject(scopeThis.query, scopeThis.queryInit);
22718
+ unclassified.deepClone.replaceObject(scopeThis.query.formData, scopeThis.queryInit);
22719
22719
  const result = await refresh({
22720
22720
  scopeThis
22721
22721
  });
@@ -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.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;
22765
+ scopeThis.tableData.sort = JSON.parse(JSON.stringify(scopeThis.query.sort));
22766
+ scopeThis.tableData.pageSize = scopeThis.query.pageSize;
22767
+ scopeThis.tableData.currentPage = scopeThis.query.currentPage;
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.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;
22822
+ scopeThis.query.sort = JSON.parse(JSON.stringify(scopeThis.tableData.sort));
22823
+ scopeThis.query.pageSize = scopeThis.tableData.pageSize;
22824
+ scopeThis.query.currentPage = scopeThis.tableData.currentPage;
22825
22825
  const result = await refresh({
22826
22826
  scopeThis
22827
22827
  });