@yoooloo42/joker 1.0.166 → 1.0.167

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
- scopeThis.query = scopeThis.queryInit ? unclassified.deepClone.deepClone(scopeThis.queryInit) : null;
22718
+ unclassified.deepClone.replaceObject(scopeThis.query, scopeThis.queryInit);
22719
22719
  const result = await refresh({
22720
22720
  scopeThis
22721
22721
  });
@@ -22818,7 +22818,7 @@ const submitFind = async _ref9 => {
22818
22818
  let {
22819
22819
  scopeThis
22820
22820
  } = _ref9;
22821
- scopeThis.query.formData = scopeThis.formData ? unclassified.deepClone.deepClone(scopeThis.formData) : null;
22821
+ unclassified.deepClone.replaceObject(scopeThis.query.formData, scopeThis.formData);
22822
22822
  scopeThis.query.sort = scopeThis.tableData.query && scopeThis.tableData.query.sort ? JSON.parse(JSON.stringify(scopeThis.tableData.query.sort)) : null;
22823
22823
  scopeThis.query.pageSize = scopeThis.tableData.query && scopeThis.tableData.query.pageSize ? scopeThis.tableData.query.pageSize : ly0default$4.pageSize;
22824
22824
  scopeThis.query.currentPage = scopeThis.tableData.query && scopeThis.tableData.query.currentPage ? scopeThis.tableData.query.currentPage : 1;