Browse Source

修复盲票销售订单显示bug

hwb0 3 years ago
parent
commit
34ea734ba4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/order/userTicket/index.vue

+ 1 - 1
src/views/order/userTicket/index.vue

@@ -201,7 +201,7 @@ export default {
             this.total = res.total;
             this.list = res.rows;
             this.list.forEach((item) => {
-              item.boxType = JSON.parse(item.boxType).desc;
+              item.boxType = item.boxType && JSON.parse(item.boxType).desc;
             });
           }
         })