mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 07:55:53 +08:00
fix: 🐛 地址取消加载 loading Bug
This commit is contained in:
@@ -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; //关闭地图
|
||||||
|
|||||||
Reference in New Issue
Block a user