@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.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.
|
|
22770
|
-
scopeThis.tableData.
|
|
22771
|
-
scopeThis.tableData.
|
|
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.
|
|
22827
|
-
scopeThis.query.pageSize = scopeThis.tableData.
|
|
22828
|
-
scopeThis.query.currentPage = scopeThis.tableData.
|
|
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
|
});
|
|
@@ -24172,9 +24172,6 @@ const props = __props;
|
|
|
24172
24172
|
// props属性包装,继承了顶层组件的响应性,页面和js可以使用相同的命名
|
|
24173
24173
|
let formData_box = props.modelValue;
|
|
24174
24174
|
const formProps_box = props.myProps;
|
|
24175
|
-
|
|
24176
|
-
console.log('测试 111', formProps_box);
|
|
24177
|
-
|
|
24178
24175
|
const scopeThis_box = props.scopeThis;
|
|
24179
24176
|
|
|
24180
24177
|
const style = vue.reactive({
|
|
@@ -24417,9 +24414,6 @@ const props = __props;
|
|
|
24417
24414
|
// 顶层组件的props属性需做响应性包装,页面和js可以使用相同的命名
|
|
24418
24415
|
let formData_box = vue.reactive(props.modelValue);
|
|
24419
24416
|
const formProps_box = vue.reactive(unclassified.deepClone.deepDefaults(props.myProps, ly0default$3.myProps));
|
|
24420
|
-
|
|
24421
|
-
console.log('测试 000', formProps_box);
|
|
24422
|
-
|
|
24423
24417
|
const scopeThis_box = vue.reactive(props.scopeThis);
|
|
24424
24418
|
|
|
24425
24419
|
return (_ctx, _cache) => {
|
|
@@ -42496,15 +42490,12 @@ var ly0default$1 = {
|
|
|
42496
42490
|
modelValue: {
|
|
42497
42491
|
data: [],
|
|
42498
42492
|
total: 0,
|
|
42499
|
-
|
|
42500
|
-
|
|
42501
|
-
|
|
42502
|
-
|
|
42503
|
-
|
|
42504
|
-
|
|
42505
|
-
pageSize: 10,
|
|
42506
|
-
currentPage: 1
|
|
42507
|
-
}
|
|
42493
|
+
sort: {
|
|
42494
|
+
label: "",
|
|
42495
|
+
order: ""
|
|
42496
|
+
},
|
|
42497
|
+
pageSize: 10,
|
|
42498
|
+
currentPage: 1
|
|
42508
42499
|
}
|
|
42509
42500
|
};
|
|
42510
42501
|
|