Quellcode durchsuchen

去掉入驻时天地图获取地址功能

1410417013 vor 3 Monaten
Ursprung
Commit
11ccab7c3d
1 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 5 2
      my/publish/index.vue

+ 5 - 2
my/publish/index.vue

@@ -277,7 +277,7 @@ export default {
 			this.shop.name = this.Settedlist.shopName
 			this.shop.typeid = this.Settedlist.shopTypeId
 			this.shop.shopTypeName = this.Settedlist.shopTypeName
-			this.shop.address = this.Settedlist.province + this.Settedlist.city + this.Settedlist.district
+			this.shop.address = this.Settedlist.detailedAddress//this.Settedlist.province + this.Settedlist.city + this.Settedlist.district
 			this.shop.detailedAddress = this.Settedlist.detailedAddress
 			this.shop.latitude = this.Settedlist.shopLat
 			this.shop.longitude = this.Settedlist.shopLng
@@ -311,7 +311,7 @@ export default {
 
 					this.shop.shopTypeName = res.data.shopTypeName
 					this.shop.name = res.data.shopName
-					this.shop.address = res.data.province + res.data.city + res.data.district
+					this.shop.address = this.Settedlist.detailedAddress//res.data.province + res.data.city + res.data.district
 					this.shop.detailedAddress = res.data.detailedAddress
 					this.shop.userName = res.data.realName
 					this.shop.isNumber = res.data.identitycardNumber
@@ -406,6 +406,7 @@ export default {
 					console.log('纬度:' + res.latitude)
 					console.log('经度:' + res.longitude)
 					that.shop.detailedAddress = res.address
+					that.shop.address = res.address//
 					that.shop.latitude = res.latitude
 					that.shop.longitude = res.longitude
 					that.getcity(res.latitude, res.longitude)
@@ -418,7 +419,9 @@ export default {
 				lng: longitude
 			}
 			this.$Request.get('/app/address/selectCity', data).then((res) => {
+				console.log(res,'lkjj')
 				if (res.code == 0) {
+					console.log(res,res.data.city,'lkjj')
 					this.city = res.data.city
 					this.province = res.data.province
 					this.district = res.data.district