zhongtianhaoyuan 2 years ago
parent
commit
4b744b2772
3 changed files with 3 additions and 1 deletions
  1. 1 0
      pages/order/index.vue
  2. 1 1
      pages/release/addAddress.vue
  3. 1 0
      pages/release/selectAddress.vue

+ 1 - 0
pages/order/index.vue

@@ -395,6 +395,7 @@
 
 		},
 		onShow() {
+			let that = this
 			if (this.scrollTop > 1200) {
 				uni.setTabBarItem({
 					index: 0,

+ 1 - 1
pages/release/addAddress.vue

@@ -82,7 +82,6 @@
 			};
 		},
 		onLoad(options) {
-			console.log(options)
 			this.$helper.formatLocation('辽宁省营口市鲅鱼圈区蝴蝶泉路红运小区')
 		},
 		computed: {
@@ -156,6 +155,7 @@
 									  for(let i = 0 ; i < res.data.districts[0].districts.length ; i++){
 										  if(res.data.districts[0].districts[i].name == _address.Country){
 											  that.addressInfo.adCode = res.data.districts[0].districts[i].adcode
+											  console.log("行政区划代码"+that.addressInfo.adCode)
 											  break
 										  } 
 									  }

+ 1 - 0
pages/release/selectAddress.vue

@@ -99,6 +99,7 @@
 				isShowAlert: false,
 				alertTitle: "",
 				alertContent: "",
+				showCancelButton:false
 			}
 		},
 		computed: {