Commit a8ffd9c6 by zhangquan

添加非空判断

1 parent 1c0fec66
......@@ -87,7 +87,7 @@
<div class="box_info">
<div class="info_text">
<span>用户姓名:</span>
<span class="h19_title">{{ orderDetail.customer.customerName || '--' }}</span>
<span class="h19_title">{{ orderDetail && orderDetail.customer ? orderDetail.customer.customerName : '--' }}</span>
</div>
<div class="info_text">
<span>评价:{{ orderDetail.comment ? '' : '--' }}</span>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!