Fly 3 月之前
父節點
當前提交
ec706a3e0e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/map/model/siteList.vue

+ 1 - 1
pages/map/model/siteList.vue

@@ -5,7 +5,7 @@
 			<view class="icon-box">
 				<image class="location-icon" src="/static/images/location-text.png" mode="aspectFit" />
 			</view>
-			<text class="location-val">{{`${info.provinceName}${info.cityName}${info.areaName}${info.address}`}}</text>
+			<text class="location-val">{{`${info.cityName  || ''}${info.areaName  || ''}${info.address  || ''}`}}</text>
 		</view>
 		<view class="distance-box">
 			<view class="distance-num one-row">