fix: 🐛 地址取消加载 loading Bug

master
Yer 2023-05-11 18:24:07 +08:00
parent ca4e458db1
commit a353022d36
1 changed files with 2 additions and 1 deletions

View File

@ -121,6 +121,7 @@ export default {
// //
callBackAddress(val) { callBackAddress(val) {
console.log(val)
uni.showLoading({ uni.showLoading({
title: "加载中", title: "加载中",
}); });
@ -133,7 +134,7 @@ export default {
this.form.consigneeAddressPath = val.data.result.name; // '' this.form.consigneeAddressPath = val.data.result.name; // ''
this.form.lat = val.latitude; // this.form.lat = val.latitude; //
this.form.lon = val.longitude; // this.form.lon = val.longitude; //
if (this.$store.state.isShowToast){ uni.hideLoading() }; uni.hideLoading();
} }
this.mapFlag = !this.mapFlag; // this.mapFlag = !this.mapFlag; //