diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue
index b96ed17..688678c 100644
--- a/pages/goods/detail.vue
+++ b/pages/goods/detail.vue
@@ -101,8 +101,7 @@
- {{addressInfo.region?addressInfo.region.city:addressResult.city}}:{{stockValue}}
+ {{addressResult.city}}:{{stockValue}}
@@ -140,7 +139,7 @@
- {{addressInfo.region?(addressInfo.region.province +'-'+addressInfo.region.city+'-'+addressInfo.region.region):(addressResult?addressResult.province +'-'+addressResult.city+'-'+addressResult.district:'全国')}}
+ {{addressResult?addressResult.province +'-'+addressResult.city+'-'+addressResult.district:'全国'}}
@@ -573,12 +572,9 @@
goods_id: this.goodsId,
num: this.selectNum
}],
- province: this.addressInfo.region ? this.addressInfo.region.province : (this.addressResult ?
- this.addressResult.province : '江苏省'),
- city: this.addressInfo.region ? this.addressInfo.region.city : (this.addressResult ? this
- .addressResult.city : '南京市'),
- district: this.addressInfo.region ? this.addressInfo.region.region : (this.addressResult ? this
- .addressResult.district : '玄武区')
+ province: this.addressResult ?this.addressResult.province : '江苏省',
+ city: this.addressResult ? this.addressResult.city : '南京市',
+ district: this.addressResult ? this.addressResult.district : '玄武区'
}
let {
status,