Pre Merge pull request !42 from DH/N/A
commit
4b08bd2b10
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue