@yoooloo42/joker 1.0.172 → 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.cjs.js +7 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7 -11
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22719,7 +22719,7 @@ const reload = async _ref2 => {
|
|
|
22719
22719
|
let {
|
|
22720
22720
|
scopeThis
|
|
22721
22721
|
} = _ref2;
|
|
22722
|
-
unclassified.deepClone.replaceObject(scopeThis.query, scopeThis.queryInit);
|
|
22722
|
+
unclassified.deepClone.replaceObject(scopeThis.query.formData, scopeThis.queryInit);
|
|
22723
22723
|
const result = await refresh({
|
|
22724
22724
|
scopeThis
|
|
22725
22725
|
});
|
|
@@ -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.sort =
|
|
22770
|
-
scopeThis.tableData.pageSize = scopeThis.query
|
|
22771
|
-
scopeThis.tableData.currentPage = scopeThis.query
|
|
22769
|
+
scopeThis.tableData.sort = JSON.parse(JSON.stringify(scopeThis.query.sort));
|
|
22770
|
+
scopeThis.tableData.pageSize = scopeThis.query.pageSize;
|
|
22771
|
+
scopeThis.tableData.currentPage = scopeThis.query.currentPage;
|
|
22772
22772
|
unclassified.deepClone.replaceObject(scopeThis.formProps, scopeThis.find.formProps);
|
|
22773
22773
|
// 弹出窗口
|
|
22774
22774
|
unclassified.deepClone.deepMerge(scopeThis.formProps.popup, {
|
|
@@ -22822,14 +22822,10 @@ const submitFind = async _ref9 => {
|
|
|
22822
22822
|
let {
|
|
22823
22823
|
scopeThis
|
|
22824
22824
|
} = _ref9;
|
|
22825
|
-
console.log('测试 000', scopeThis.queryInit);
|
|
22826
|
-
console.log('测试 111', scopeThis.query);
|
|
22827
22825
|
unclassified.deepClone.replaceObject(scopeThis.query.formData, scopeThis.formData);
|
|
22828
|
-
|
|
22829
|
-
|
|
22830
|
-
scopeThis.query.
|
|
22831
|
-
scopeThis.query.pageSize = !!scopeThis.tableData.pageSize ? scopeThis.tableData.pageSize : ly0default$4.pageSize;
|
|
22832
|
-
scopeThis.query.currentPage = !!scopeThis.tableData.currentPage ? scopeThis.tableData.currentPage : ly0default$4.currentPage;
|
|
22826
|
+
scopeThis.query.sort = JSON.parse(JSON.stringify(scopeThis.tableData.sort));
|
|
22827
|
+
scopeThis.query.pageSize = scopeThis.tableData.pageSize;
|
|
22828
|
+
scopeThis.query.currentPage = scopeThis.tableData.currentPage;
|
|
22833
22829
|
const result = await refresh({
|
|
22834
22830
|
scopeThis
|
|
22835
22831
|
});
|