From 0024d0f4e1355171fd2f0125e272f2862e0c4925 Mon Sep 17 00:00:00 2001 From: zzzzzak <160323449+zzzzzak@users.noreply.github.com> Date: Sun, 12 Jan 2025 12:02:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20index.vue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/invest/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pages/invest/index.vue b/src/pages/invest/index.vue index d11136a..cae9f15 100644 --- a/src/pages/invest/index.vue +++ b/src/pages/invest/index.vue @@ -207,6 +207,7 @@ const onShowRights = (item: any) => { const onInvest = mergeStep(async (item: any) => { try { + uni.showLoading() await submitInvestAPI({ investid: item.id, type: 3, @@ -218,6 +219,8 @@ const onInvest = mergeStep(async (item: any) => { }) } return + } finally { + uni.hideLoading() } await userStore.loadUserInfo() uni.showToast({