Explorar o código

修复盲票销售订单显示bug

hwb0 %!s(int64=3) %!d(string=hai) anos
pai
achega
34ea734ba4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
             });
           }
         })