浏览代码

修复盲票销售订单显示bug

hwb0 3 年之前
父节点
当前提交
34ea734ba4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
             });
           }
         })