master
游梦婷 1 year ago
parent 7123f2dc61
commit 0562d99e7a
  1. 16
      physical-merchants/address/addNewAddress/addNewAddress.vue

@ -202,7 +202,6 @@
},
blurMethod(){
this.baiduApiMap(this.userAddress.address)
},
getRect(selector, all) {
@ -269,10 +268,10 @@
},
//onInput
location(n){
// this.userAddress.address = this.userAddress.address.replace(/\s+/g, "")
},
// //onInput
// location(n){
// // this.userAddress.address = this.userAddress.address.replace(/\s+/g, "")
// },
baiduApiMap(query){
@ -280,9 +279,14 @@
let params={
query:query
}
uni.showLoading({
title: '加载中',
mask:true,
});
// console.log(params,"params")
baiduApiMapSearch(params).then(res=>{
uni.hideLoading();
console.log(res)
if (res.return_code == '000000') {

Loading…
Cancel
Save