@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.cjs.js CHANGED
@@ -22766,9 +22766,9 @@ const popupFind = async _ref5 => {
22766
22766
  scopeThis
22767
22767
  } = _ref5;
22768
22768
  unclassified.deepClone.replaceObject(scopeThis.formData, scopeThis.query.formData);
22769
- scopeThis.tableData.query.sort = scopeThis.query && scopeThis.query.sort ? JSON.parse(JSON.stringify(scopeThis.query.sort)) : null;
22770
- scopeThis.tableData.query.pageSize = scopeThis.query && scopeThis.query.pageSize ? scopeThis.query.pageSize : ly0default$4.pageSize;
22771
- scopeThis.tableData.query.currentPage = scopeThis.query && scopeThis.query.currentPage ? scopeThis.query.currentPage : 1;
22769
+ scopeThis.tableData.sort = scopeThis.query && scopeThis.query.sort ? JSON.parse(JSON.stringify(scopeThis.query.sort)) : null;
22770
+ scopeThis.tableData.pageSize = scopeThis.query && scopeThis.query.pageSize ? scopeThis.query.pageSize : ly0default$4.pageSize;
22771
+ scopeThis.tableData.currentPage = scopeThis.query && scopeThis.query.currentPage ? scopeThis.query.currentPage : 1;
22772
22772
  unclassified.deepClone.replaceObject(scopeThis.formProps, scopeThis.find.formProps);
22773
22773
  // 弹出窗口
22774
22774
  unclassified.deepClone.deepMerge(scopeThis.formProps.popup, {
@@ -22823,9 +22823,9 @@ const submitFind = async _ref9 => {
22823
22823
  scopeThis
22824
22824
  } = _ref9;
22825
22825
  unclassified.deepClone.replaceObject(scopeThis.query.formData, scopeThis.formData);
22826
- scopeThis.query.sort = scopeThis.tableData.query && scopeThis.tableData.query.sort ? JSON.parse(JSON.stringify(scopeThis.tableData.query.sort)) : null;
22827
- scopeThis.query.pageSize = scopeThis.tableData.query && scopeThis.tableData.query.pageSize ? scopeThis.tableData.query.pageSize : ly0default$4.pageSize;
22828
- scopeThis.query.currentPage = scopeThis.tableData.query && scopeThis.tableData.query.currentPage ? scopeThis.tableData.query.currentPage : 1;
22826
+ scopeThis.query.sort = !!scopeThis.tableData.sort ? JSON.parse(JSON.stringify(scopeThis.tableData.sort)) : null;
22827
+ scopeThis.query.pageSize = !!scopeThis.tableData.pageSize ? scopeThis.tableData.pageSize : ly0default$4.pageSize;
22828
+ scopeThis.query.currentPage = !!scopeThis.tableData.currentPage ? scopeThis.tableData.currentPage : ly0default$4.currentPage;
22829
22829
  const result = await refresh({
22830
22830
  scopeThis
22831
22831
  });
@@ -42490,15 +42490,12 @@ var ly0default$1 = {
42490
42490
  modelValue: {
42491
42491
  data: [],
42492
42492
  total: 0,
42493
- query: {
42494
- formData: null,
42495
- sort: {
42496
- label: "",
42497
- order: ""
42498
- },
42499
- pageSize: 10,
42500
- currentPage: 1
42501
- }
42493
+ sort: {
42494
+ label: "",
42495
+ order: ""
42496
+ },
42497
+ pageSize: 10,
42498
+ currentPage: 1
42502
42499
  }
42503
42500
  };
42504
42501