@yoooloo42/joker 1.0.270 → 1.0.272
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 +6 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22830,7 +22830,7 @@ var unclassified = {
|
|
|
22830
22830
|
const refresh = async _ref => {
|
|
22831
22831
|
let {
|
|
22832
22832
|
scopeThis,
|
|
22833
|
-
|
|
22833
|
+
noMessage
|
|
22834
22834
|
} = _ref;
|
|
22835
22835
|
scopeThis.tableProps.table.loading.visible = true;
|
|
22836
22836
|
const result = await ly0request$1.storpro({
|
|
@@ -22852,11 +22852,11 @@ const refresh = async _ref => {
|
|
|
22852
22852
|
pageSize: scopeThis.query.pageSize,
|
|
22853
22853
|
currentPage: scopeThis.query.currentPage
|
|
22854
22854
|
});
|
|
22855
|
-
if (
|
|
22855
|
+
if (!noMessage) {
|
|
22856
22856
|
elementPlus.ElMessage('数据已刷新');
|
|
22857
22857
|
}
|
|
22858
22858
|
} else {
|
|
22859
|
-
if (
|
|
22859
|
+
if (!noMessage) {
|
|
22860
22860
|
elementPlus.ElMessage('数据刷新错误');
|
|
22861
22861
|
}
|
|
22862
22862
|
}
|
|
@@ -22873,7 +22873,8 @@ const reload = async _ref2 => {
|
|
|
22873
22873
|
} = _ref2;
|
|
22874
22874
|
unclassified.deepClone.replaceObject(scopeThis.query, scopeThis.queryInit);
|
|
22875
22875
|
const result = await refresh({
|
|
22876
|
-
scopeThis
|
|
22876
|
+
scopeThis,
|
|
22877
|
+
noMessage: true
|
|
22877
22878
|
});
|
|
22878
22879
|
elementPlus.ElMessage(result.code === 0 ? '数据已重载' : '数据重载错误');
|
|
22879
22880
|
};
|
|
@@ -42625,6 +42626,7 @@ var ly0default$1 = {
|
|
|
42625
42626
|
order: ""
|
|
42626
42627
|
},
|
|
42627
42628
|
pageSize: 10,
|
|
42629
|
+
pageSizes: [10, 20, 30, 40],
|
|
42628
42630
|
currentPage: 1
|
|
42629
42631
|
}
|
|
42630
42632
|
};
|