Explorar el Código

修复盲票销售订单显示bug

hwb0 hace 3 años
padre
commit
34ea734ba4
Se han modificado 1 ficheros con 1 adiciones y 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;
             });
           }
         })