@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.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
|
};
|
|
@@ -22897,7 +22898,6 @@ const currentPageChange = async _ref4 => {
|
|
|
22897
22898
|
currentPage,
|
|
22898
22899
|
scopeThis
|
|
22899
22900
|
} = _ref4;
|
|
22900
|
-
console.log('joker测试 111', currentPage);
|
|
22901
22901
|
scopeThis.query.currentPage = currentPage;
|
|
22902
22902
|
await refresh({
|
|
22903
22903
|
scopeThis
|
|
@@ -42102,9 +42102,6 @@ const hdl = {
|
|
|
42102
42102
|
}
|
|
42103
42103
|
},
|
|
42104
42104
|
async currentPageChange(currentPage) {
|
|
42105
|
-
|
|
42106
|
-
console.log('joker测试 000', currentPage);
|
|
42107
|
-
|
|
42108
42105
|
// 当前页码改变
|
|
42109
42106
|
tableData_box.currentPage = currentPage;
|
|
42110
42107
|
if(tableProps_box.table.hdlCurrentPageChange){
|
|
@@ -42529,7 +42526,7 @@ return (_ctx, _cache) => {
|
|
|
42529
42526
|
vue.createVNode(_component_el_pagination, {
|
|
42530
42527
|
total: vue.unref(tableData_box).total,
|
|
42531
42528
|
"page-size": vue.unref(tableData_box).pageSize,
|
|
42532
|
-
"page-sizes":
|
|
42529
|
+
"page-sizes": vue.unref(tableData_box).pageSizes,
|
|
42533
42530
|
"current-page": vue.unref(tableData_box).currentPage,
|
|
42534
42531
|
style: vue.normalizeStyle(style.pagination),
|
|
42535
42532
|
onSizeChange: hdl.pageSizeChange,
|