Commit 672ff1fd authored by Facius's avatar Facius

fix: 订单地址为空的时候显示null

parent 020b0d9a
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<view class="between-cell address-cell"> <view class="between-cell address-cell">
<view class="left-address"> <view class="left-address">
<u-icon name="map" size="28"></u-icon> <u-icon name="map" size="28"></u-icon>
<text class="address-txt">{{ order.customerAddress }}</text> <text class="address-txt">{{ order.customerAddress || '' }}</text>
</view> </view>
<image <image
v-if="showOperate" v-if="showOperate"
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
:src="dizhiImage" :src="dizhiImage"
mode="widthFix" mode="widthFix"
></image> ></image>
<text>{{ orderData.customerAddress }}</text> <text>{{ orderData.customerAddress || '' }}</text>
</view> </view>
<view v-if="showDistance" class="address-right-view"> <view v-if="showDistance" class="address-right-view">
{{ orderDistance }}km {{ orderDistance }}km
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment