Jelajahi Sumber

修复盲票销售订单显示bug

hwb0 3 tahun lalu
induk
melakukan
34ea734ba4
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;
             });
           }
         })