所有tabbar页面切换后需要重新加载订单

This commit is contained in:
TOP糯米 2023-03-30 10:36:20 +08:00
parent 5a298b4254
commit b34305fce7
2 changed files with 2 additions and 0 deletions

View File

@ -172,6 +172,7 @@ export default {
this.typeTextColor = typeTextColor; this.typeTextColor = typeTextColor;
this.acceptState = this.acceptOrder; this.acceptState = this.acceptOrder;
} }
this.$store.commit("system/refreshOrder", true);
}, },
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},

View File

@ -60,6 +60,7 @@ export default {
await this.loadCate(); await this.loadCate();
this.switchTab(this.messageTabIndex); this.switchTab(this.messageTabIndex);
} }
this.$store.commit("system/refreshOrder", true);
}, },
onReady() {}, onReady() {},
onReachBottom() { onReachBottom() {