From c6cc2758c91866bbd3d8d00bba05a6993bfa6c97 Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Thu, 6 Mar 2025 21:10:17 +0800 Subject: [PATCH] =?UTF-8?q?Fix(=E7=A4=BC=E5=93=81):=E9=A2=86=E5=8F=96?= =?UTF-8?q?=E9=A2=86=E5=8F=96=E7=A4=BC=E5=93=81=E6=96=B0=E5=A2=9E=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E4=BF=9D=E5=AD=98=E9=98=B2=E6=8A=96=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_user/views/gift/components/AddressDialog.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg_user/views/gift/components/AddressDialog.vue b/pkg_user/views/gift/components/AddressDialog.vue index c04a2bb..4f419cf 100644 --- a/pkg_user/views/gift/components/AddressDialog.vue +++ b/pkg_user/views/gift/components/AddressDialog.vue @@ -172,6 +172,7 @@ export default { this.form.region = e.province.label + ' ' + e.city.label + ' ' + e.area.label }, async handleSave() { + if (this.loading) return const name = this.userAddress.realName || '' const phone = this.userAddress.phone || '' const addressText = this.addressText || '' @@ -224,6 +225,7 @@ export default { this.$emit('save', res.data.id) }).finally(() => { this.loading = false + uni.hideLoading(); }); } catch (err) { uni.showToast({ @@ -231,7 +233,6 @@ export default { icon: "none", duration: 2000 }); - uni.hideLoading(); } }, //获取当前定位地址