|
@@ -20,7 +20,7 @@
|
|
|
<div class="navigation" @click="onMapNav">导航</div>
|
|
|
<div
|
|
|
class="distance"
|
|
|
- v-if="clubInfo.distance"
|
|
|
+ v-if="clubInfo.distance && clubInfo.distance < 99999"
|
|
|
v-text="'距你' + clubInfo.distance + 'km'"
|
|
|
></div>
|
|
|
</div>
|
|
@@ -77,7 +77,12 @@ export default {
|
|
|
computed: {
|
|
|
...mapGetters(['routePrefix']),
|
|
|
address() {
|
|
|
- return this.clubInfo.area + this.clubInfo.address || '未知'
|
|
|
+ return (
|
|
|
+ (this.clubInfo.area &&
|
|
|
+ this.clubInfo.area + this.clubInfo.address &&
|
|
|
+ this.clubInfo.address) ||
|
|
|
+ '未知'
|
|
|
+ )
|
|
|
},
|
|
|
isEmpty() {
|
|
|
return this.clubInfo.productList
|