From d178be1acd7d99b17a0a30f7091d9df30e68309b Mon Sep 17 00:00:00 2001 From: zhoulinf <2507241354@qq.com> Date: Thu, 4 Dec 2025 11:38:10 +0800 Subject: [PATCH] =?UTF-8?q?CRM=5F25-12-09#story#7686,=E8=B0=83=E5=BA=A6APP?= =?UTF-8?q?=E4=B8=AD=E6=95=91=E6=8F=B4=E8=B4=A3=E4=BB=BB=E9=99=A9=E5=8F=82?= =?UTF-8?q?=E4=BF=9D=E5=92=A8=E8=AF=A2=E9=97=AE=E9=A2=98=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/liabilityInsurance/insuredPage.vue | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/views/liabilityInsurance/insuredPage.vue b/src/views/liabilityInsurance/insuredPage.vue index 550ad32c..ba5d466c 100644 --- a/src/views/liabilityInsurance/insuredPage.vue +++ b/src/views/liabilityInsurance/insuredPage.vue @@ -65,6 +65,7 @@ export default { return { showPoup: false, used:false, + saveLoading: true, } }, async mounted() { @@ -73,12 +74,19 @@ export default { }, methods: { async saveHandle() { - await sendInsuranceEmail(); - this.$toast('操作成功'); - this.showPoup=false - setTimeout(()=>{ - this.goBack() - },1500) + if( this.saveLoading ) { + try { + this.saveLoading = false; + await sendInsuranceEmail(); + this.$toast('操作成功'); + this.showPoup = false + setTimeout(() => { + this.goBack() + }, 1500) + } finally { + this.saveLoading = true; + } + } }, } }