Pre Merge pull request !42 from DH/N/A

pull/42/MERGE
DH 2024-03-01 05:09:05 +00:00 committed by Gitee
commit 4b08bd2b10
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 6 additions and 4 deletions

View File

@ -138,8 +138,10 @@
return; return;
} }
// //
state.pagination = paginationNull; // state.pagination = paginationNull;
Object.assign(state.pagination,paginationNull)
state.currentTab = e.index; state.currentTab = e.index;
state.pagination.list = []
getOrderList(); getOrderList();
} }
@ -191,7 +193,7 @@
// //
const { code } = await OrderApi.receiveOrder(order.id); const { code } = await OrderApi.receiveOrder(order.id);
if (code === 0) { if (code === 0) {
state.pagination = paginationNull; Object.assign(state.pagination,paginationNull);
await getOrderList(); await getOrderList();
} }
} }
@ -315,7 +317,7 @@
// //
onPullDownRefresh(() => { onPullDownRefresh(() => {
state.pagination = paginationNull; Object.assign(state.pagination,paginationNull);
getOrderList(); getOrderList();
setTimeout(function() { setTimeout(function() {
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
@ -456,4 +458,4 @@
.info-color { .info-color {
color: #999999; color: #999999;
} }
</style> </style>