From 445ee8e655351634abf04eb1ca6794ef5561cf37 Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Tue, 24 Dec 2024 12:46:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E7=94=9F=E4=BA=A7bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/inLocation/addForm.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/inLocation/addForm.vue b/src/pages/inLocation/addForm.vue index 946c6c5..4318ff6 100644 --- a/src/pages/inLocation/addForm.vue +++ b/src/pages/inLocation/addForm.vue @@ -182,9 +182,11 @@ proxy.$modal.showToast('添加失败') loading.value = false } - }).catch(() => { - proxy.$modal.closeLoading() - loading.value = false + }).catch(() => { + + }).finally(()=>{ + proxy.$modal.closeLoading() + loading.value = false }) })