修改订单刷新逻辑

This commit is contained in:
TOP糯米 2023-04-14 15:51:47 +08:00
parent 93ee5e564a
commit 69234b8c3f
1 changed files with 1 additions and 1 deletions

View File

@ -145,6 +145,7 @@ export default {
* 切换tab页
*/
switchTab(index) {
this.$store.commit("system/refreshOrder", false);
this.$store.commit("system/currentOrderTabIndex", index);
this.tabIndex = index;
let currentTab = this.tabList[index];
@ -208,7 +209,6 @@ export default {
* 跳转详情
*/
toDetail(id, state, listType, orderType) {
this.$store.commit("system/refreshOrder", false);
let tab = "detail";
//
if (listType == "t2" && orderType == 2 && state == 0) {