@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.cjs.js CHANGED
@@ -22719,7 +22719,7 @@ const reload = async _ref2 => {
22719
22719
  let {
22720
22720
  scopeThis
22721
22721
  } = _ref2;
22722
- scopeThis.query = scopeThis.queryInit ? unclassified.deepClone.deepClone(scopeThis.queryInit) : null;
22722
+ unclassified.deepClone.replaceObject(scopeThis.query, scopeThis.queryInit);
22723
22723
  const result = await refresh({
22724
22724
  scopeThis
22725
22725
  });
@@ -22822,7 +22822,7 @@ const submitFind = async _ref9 => {
22822
22822
  let {
22823
22823
  scopeThis
22824
22824
  } = _ref9;
22825
- scopeThis.query.formData = scopeThis.formData ? unclassified.deepClone.deepClone(scopeThis.formData) : null;
22825
+ unclassified.deepClone.replaceObject(scopeThis.query.formData, scopeThis.formData);
22826
22826
  scopeThis.query.sort = scopeThis.tableData.query && scopeThis.tableData.query.sort ? JSON.parse(JSON.stringify(scopeThis.tableData.query.sort)) : null;
22827
22827
  scopeThis.query.pageSize = scopeThis.tableData.query && scopeThis.tableData.query.pageSize ? scopeThis.tableData.query.pageSize : ly0default$4.pageSize;
22828
22828
  scopeThis.query.currentPage = scopeThis.tableData.query && scopeThis.tableData.query.currentPage ? scopeThis.tableData.query.currentPage : 1;