Browse Source

全部订单 已取消 状态显示

李战雷 2 years ago
parent
commit
ef46c4a845
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .env.development
  2. 1 1
      src/pages/order/components/OrderItem.vue

+ 1 - 1
.env.development

@@ -1 +1 @@
1
-VITE_GLOB_API_URL = 'https://app.bjtdba.com'
1
+VITE_GLOB_API_URL = 'https://test.bjtdba.com'

+ 1 - 1
src/pages/order/components/OrderItem.vue

@@ -73,7 +73,7 @@ function getStatusText(orderItem: OrderListModel) {
73
   if (orderItem.status == 4) {
73
   if (orderItem.status == 4) {
74
     return '售后中'
74
     return '售后中'
75
   }
75
   }
76
-  if (orderItem.status === 5) {
76
+  if (orderItem.status == 6) {
77
     return '已取消'
77
     return '已取消'
78
   }
78
   }
79
   if (orderItem.status === '5') {
79
   if (orderItem.status === '5') {