@yoooloo42/joker 1.0.269 → 1.0.271
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 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -9
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -22826,7 +22826,7 @@ var unclassified = {
|
|
|
22826
22826
|
const refresh = async _ref => {
|
|
22827
22827
|
let {
|
|
22828
22828
|
scopeThis,
|
|
22829
|
-
|
|
22829
|
+
noMessage
|
|
22830
22830
|
} = _ref;
|
|
22831
22831
|
scopeThis.tableProps.table.loading.visible = true;
|
|
22832
22832
|
const result = await ly0request.storpro({
|
|
@@ -22848,11 +22848,11 @@ const refresh = async _ref => {
|
|
|
22848
22848
|
pageSize: scopeThis.query.pageSize,
|
|
22849
22849
|
currentPage: scopeThis.query.currentPage
|
|
22850
22850
|
});
|
|
22851
|
-
if (
|
|
22851
|
+
if (!noMessage) {
|
|
22852
22852
|
ElMessage('数据已刷新');
|
|
22853
22853
|
}
|
|
22854
22854
|
} else {
|
|
22855
|
-
if (
|
|
22855
|
+
if (!noMessage) {
|
|
22856
22856
|
ElMessage('数据刷新错误');
|
|
22857
22857
|
}
|
|
22858
22858
|
}
|
|
@@ -22869,7 +22869,8 @@ const reload = async _ref2 => {
|
|
|
22869
22869
|
} = _ref2;
|
|
22870
22870
|
unclassified.deepClone.replaceObject(scopeThis.query, scopeThis.queryInit);
|
|
22871
22871
|
const result = await refresh({
|
|
22872
|
-
scopeThis
|
|
22872
|
+
scopeThis,
|
|
22873
|
+
noMessage: true
|
|
22873
22874
|
});
|
|
22874
22875
|
ElMessage(result.code === 0 ? '数据已重载' : '数据重载错误');
|
|
22875
22876
|
};
|
|
@@ -22893,7 +22894,6 @@ const currentPageChange = async _ref4 => {
|
|
|
22893
22894
|
currentPage,
|
|
22894
22895
|
scopeThis
|
|
22895
22896
|
} = _ref4;
|
|
22896
|
-
console.log('joker测试 111', currentPage);
|
|
22897
22897
|
scopeThis.query.currentPage = currentPage;
|
|
22898
22898
|
await refresh({
|
|
22899
22899
|
scopeThis
|
|
@@ -42098,9 +42098,6 @@ const hdl = {
|
|
|
42098
42098
|
}
|
|
42099
42099
|
},
|
|
42100
42100
|
async currentPageChange(currentPage) {
|
|
42101
|
-
|
|
42102
|
-
console.log('joker测试 000', currentPage);
|
|
42103
|
-
|
|
42104
42101
|
// 当前页码改变
|
|
42105
42102
|
tableData_box.currentPage = currentPage;
|
|
42106
42103
|
if(tableProps_box.table.hdlCurrentPageChange){
|
|
@@ -42525,7 +42522,7 @@ return (_ctx, _cache) => {
|
|
|
42525
42522
|
createVNode(_component_el_pagination, {
|
|
42526
42523
|
total: unref(tableData_box).total,
|
|
42527
42524
|
"page-size": unref(tableData_box).pageSize,
|
|
42528
|
-
"page-sizes":
|
|
42525
|
+
"page-sizes": unref(tableData_box).pageSizes,
|
|
42529
42526
|
"current-page": unref(tableData_box).currentPage,
|
|
42530
42527
|
style: normalizeStyle(style.pagination),
|
|
42531
42528
|
onSizeChange: hdl.pageSizeChange,
|