修复订单刷新bug

This commit is contained in:
TOP糯米 2023-04-14 14:27:03 +08:00
parent 8268904d64
commit 1003f6f393
1 changed files with 3 additions and 3 deletions

View File

@ -115,12 +115,12 @@ export default {
},
onLoad() {},
onShow() {
if (this.refreshOrder && this.currentOrderTabIndex == this.tabIndex) {
this.switchTab(this.tabIndex);
}
if (this.currentOrderTabIndex != this.tabIndex) {
this.tabIndex = this.currentOrderTabIndex;
}
if (this.refreshOrder) {
this.switchTab(this.tabIndex);
}
},
onReady() {},
onHide() {},