@yoooloo42/joker 1.0.168 → 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 +12 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12 -21
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -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.
|
|
22766
|
-
scopeThis.tableData.
|
|
22767
|
-
scopeThis.tableData.
|
|
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;
|
|
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.
|
|
22823
|
-
scopeThis.query.pageSize = scopeThis.tableData.
|
|
22824
|
-
scopeThis.query.currentPage = scopeThis.tableData.
|
|
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;
|
|
22825
22825
|
const result = await refresh({
|
|
22826
22826
|
scopeThis
|
|
22827
22827
|
});
|
|
@@ -24168,9 +24168,6 @@ const props = __props;
|
|
|
24168
24168
|
// props属性包装,继承了顶层组件的响应性,页面和js可以使用相同的命名
|
|
24169
24169
|
let formData_box = props.modelValue;
|
|
24170
24170
|
const formProps_box = props.myProps;
|
|
24171
|
-
|
|
24172
|
-
console.log('测试 111', formProps_box);
|
|
24173
|
-
|
|
24174
24171
|
const scopeThis_box = props.scopeThis;
|
|
24175
24172
|
|
|
24176
24173
|
const style = reactive({
|
|
@@ -24413,9 +24410,6 @@ const props = __props;
|
|
|
24413
24410
|
// 顶层组件的props属性需做响应性包装,页面和js可以使用相同的命名
|
|
24414
24411
|
let formData_box = reactive(props.modelValue);
|
|
24415
24412
|
const formProps_box = reactive(unclassified.deepClone.deepDefaults(props.myProps, ly0default$3.myProps));
|
|
24416
|
-
|
|
24417
|
-
console.log('测试 000', formProps_box);
|
|
24418
|
-
|
|
24419
24413
|
const scopeThis_box = reactive(props.scopeThis);
|
|
24420
24414
|
|
|
24421
24415
|
return (_ctx, _cache) => {
|
|
@@ -42492,15 +42486,12 @@ var ly0default$1 = {
|
|
|
42492
42486
|
modelValue: {
|
|
42493
42487
|
data: [],
|
|
42494
42488
|
total: 0,
|
|
42495
|
-
|
|
42496
|
-
|
|
42497
|
-
|
|
42498
|
-
|
|
42499
|
-
|
|
42500
|
-
|
|
42501
|
-
pageSize: 10,
|
|
42502
|
-
currentPage: 1
|
|
42503
|
-
}
|
|
42489
|
+
sort: {
|
|
42490
|
+
label: "",
|
|
42491
|
+
order: ""
|
|
42492
|
+
},
|
|
42493
|
+
pageSize: 10,
|
|
42494
|
+
currentPage: 1
|
|
42504
42495
|
}
|
|
42505
42496
|
};
|
|
42506
42497
|
|