修复订单刷新bug
This commit is contained in:
parent
8268904d64
commit
1003f6f393
|
@ -115,12 +115,12 @@ export default {
|
||||||
},
|
},
|
||||||
onLoad() {},
|
onLoad() {},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
if (this.refreshOrder && this.currentOrderTabIndex == this.tabIndex) {
|
||||||
|
this.switchTab(this.tabIndex);
|
||||||
|
}
|
||||||
if (this.currentOrderTabIndex != this.tabIndex) {
|
if (this.currentOrderTabIndex != this.tabIndex) {
|
||||||
this.tabIndex = this.currentOrderTabIndex;
|
this.tabIndex = this.currentOrderTabIndex;
|
||||||
}
|
}
|
||||||
if (this.refreshOrder) {
|
|
||||||
this.switchTab(this.tabIndex);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
onReady() {},
|
onReady() {},
|
||||||
onHide() {},
|
onHide() {},
|
||||||
|
|
Loading…
Reference in New Issue