From 0562d99e7ae8adc8d0807c3963d7654b46bff556 Mon Sep 17 00:00:00 2001 From: youmengting <2080639302@qq.com> Date: Tue, 23 May 2023 10:19:42 +0800 Subject: [PATCH] address2 --- .../address/addNewAddress/addNewAddress.vue | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/physical-merchants/address/addNewAddress/addNewAddress.vue b/physical-merchants/address/addNewAddress/addNewAddress.vue index 902f084..918f80a 100644 --- a/physical-merchants/address/addNewAddress/addNewAddress.vue +++ b/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') {