Skip to content

Commit ef3c86f

Browse files
committed
fix 修复因user为null导致其他数据渲染失败
1 parent 9a6c40f commit ef3c86f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/mall/trade/order/components/OrderTableColumn.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
v-if="scope.row.deliveryType === DeliveryTypeEnum.EXPRESS.type"
121121
class="flex flex-col"
122122
>
123-
<span>买家:{{ scope.row.user.nickname }}</span>
123+
<span>买家:{{ scope.row.user?.nickname }}</span>
124124
<span>
125125
收货人:{{ scope.row.receiverName }} {{ scope.row.receiverMobile }}
126126
{{ scope.row.receiverAreaName }} {{ scope.row.receiverDetailAddress }}

0 commit comments

Comments
 (0)